Antw: [vienna.pm] Warnings...

Roland Bauer roland.bauer at fff.at
Sun Apr 16 09:19:03 CDT 2000


* * * vienna-pm-list * * *


> > my %h = map {$_, ""} qw(x y z);
>
> @h{qw(x y z)} = ();

Bei () bruellt er ...

#-----------------------
use strict;
use diagnostics;

my %h;
@h{qw(x y z)} = "";

print $h{x};
#-----------------------

Geht das mit dem Slice auch in Kombination mit "my"
in einem Befehl?

Roland

###
You are subscribed to vienna-pm-list as Roland Bauer <roland.bauer at fff.at>
http://www.fff.at/fff/vienna.pm/



More information about the Vienna-pm mailing list