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/2011-December/010344.html | 116 +++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-December/010344.html (limited to 'zarb-ml/mageia-dev/2011-December/010344.html') diff --git a/zarb-ml/mageia-dev/2011-December/010344.html b/zarb-ml/mageia-dev/2011-December/010344.html new file mode 100644 index 000000000..466d2056b --- /dev/null +++ b/zarb-ml/mageia-dev/2011-December/010344.html @@ -0,0 +1,116 @@ + + + + [Mageia-dev] [soft-commits] [2359] coding style update (perl_checker) + + + + + + + + + +

[Mageia-dev] [soft-commits] [2359] coding style update (perl_checker)

+ Romain d'Alverny + rdalverny at gmail.com +
+ Sat Dec 10 21:54:40 CET 2011 +

+
+ +
On Sat, Dec 10, 2011 at 20:37, Thierry Vignaud
+<thierry.vignaud at gmail.com> wrote:
+> On 10 December 2011 20:25, Romain d'Alverny <rdalverny at gmail.com> wrote:
+>>>    if ((@info{qw(name version release variant arch medium build
+>>> ext)}) = $name =~
+>>>        m/^(Mageia)-(\d+)-((?:alpha|beta|RC)\d*)?(-(?:.*))?-(i586|x86_64|dual)?(?:-(CD|DVD|BD))?(?:-(build_\w+))?\.(.*)$/)
+>>> {
+>>>        $info{full} = $name;
+>>>    }
+>>
+>> Looks much more compact, thanks. Added a "else { %info = (); }" to
+>> satisfy the expected behaviour (empty array returned if no match).
+>
+> This is wrong.
+> Once declared (aka "my %info"), %info is initialized and is equal to "()".
+
+Yes, but otherwise, testing the code you provided, even if the regexp
+test fails, returned %info is still populated with keys, pointing to
+undef values.
+
+>> By the way, is there a "best" Web-based doc for MDK Perl libraries?
+>> (could find one, but not at once, and I didn't count many). Or shall
+>> we think about it?
+>
+> perldoc MDK::Common
+
+Thanks, this is cool for a local access. Looking for a way to export
+this into HTML.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

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