[Vienna-pm] Kleine Tippfehler straft Perl sofort ...
Thomas Klausner
domm at cpan.org
Fri Jun 8 09:10:08 PDT 2007
Hi!
On Fri, Jun 08, 2007 at 05:56:52PM +0200, Peter J. Holzer wrote:
> Ich habe folgendes in einem Script getippt:
>
> 176 for my $g ($maingroup. @suppgroups) {
> 177 check_group($g, $curr->{group}{$g}{attribute}{gid}{value});
> 178 }
>
> und dann wohl eine halbe Stunde gebraucht, um draufzukommen, warum das
> Script versucht, so seltsame Gruppen wie "biblio3" oder "rr11"
> anzulegen.
Lustig waere natuerlich auch 'biblo37/64' (wenn du einen Hash fuer
@suppgroups verwendet haettest...)
/me loves buckets
siehe auch
perldoc perlglossary
/bucket
hm, perlglossary, sehr interessant, was es nicht alles gibt...
--
#!/usr/bin/perl http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
More information about the Vienna-pm
mailing list