From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-November/019943.html | 128 +++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-November/019943.html (limited to 'zarb-ml/mageia-dev/2012-November/019943.html') diff --git a/zarb-ml/mageia-dev/2012-November/019943.html b/zarb-ml/mageia-dev/2012-November/019943.html new file mode 100644 index 000000000..8780dbc5b --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/019943.html @@ -0,0 +1,128 @@ + + + + [Mageia-dev] [soft-commits] [6435] Added a first log viewer module. + + + + + + + + + +

[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.

+ Angelo Naselli + anaselli at linux.it +
+ Mon Nov 12 11:07:42 CET 2012 +

+
+ +
-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+Hi Guillaume,
+Il 12/11/2012 09:44, Guillaume Rousse ha scritto:
+> Le 11/11/2012 19:13, root at mageia.org a écrit :
+>> +package LogViewer; + +use strict; +use POSIX;
+> never load the POSIX module this way. Either import it without
+> importing any symbol in your namespace, either import just the
+> symbols you need. See POSIX(3pm) for details.
+
+I thought it wasn't the right way, i just forgot to fix it.
+This module is not completed yet, but feel free to work on it or
+to any other module you want to port.
+
+My basic idea was to show how an easy task like showing log could
+work in qt, ncurses and gtk without changing the core code.
+
+Again I'm not a perl developer and neither i'm pretending to be,
+what i'm trying to, is porting some old programs to new layout,
+but if that hurts someone's feeling i can stop working on it
+and do some in c++ for what i need.
+
+Funny from here:
+> [..]
+>> +    $::isWizard = 1;
+> ugly syntax.
+> 
+> [..]
+>> +#- check services +my ) . Data::Dumper->Dump([ $service ],
+>> [qw(*services)]) . q( +foreach (split(':', $options{SERVICES}))
+>> { +    next unless $services{$_}; +    $r .= "Service $_
+>> ($services{$_} is not running)\\n" unless -e 
+>> "/var/lock/subsys/$_"; +}
+> You shouldn't leave debugging statement in your code. Moreover, I
+> doubt this is syntactically correct. Do you use Test::Compile to
+> check your code compiles correctly ?
+> 
+the above code is all from old logdrake, all commented and not
+runnable, because i haven't imported yet :p
+
+Cheers,
+	Angelo
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
+
+iEYEARECAAYFAlCgymsACgkQqEs9DA4DquDSBACggCiaEKouQ1s2wAFJHFmt1WBF
+1joAoKFatBVmuK3ERVolx6B15XclNUtl
+=qlDj
+-----END PGP SIGNATURE-----
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1