Thread Ungereimtheit in Perl (10 answers)
Opened by DS at 2004-02-13 21:40

kabel
 2004-02-17 14:47
#80076 #80076
User since
2003-08-04
704 Artikel
BenutzerIn
[default_avatar]
wie wäre es damit?
Quote
[xxx][yyy] # perl
sub a {return}
sub b {return 1 .. 3}

my %hash = (a => &a || "--NOT-DEFINED--", b => &b);

use Data::Dumper;
print STDOUT Dumper \%hash;

$VAR1 = {
'a' => '--NOT-DEFINED--',
'b' => 1,
'2' => 3
};
[yyy][xxx] #


imo ist das ein feature.
-- stefan

View full thread Ungereimtheit in Perl