in reply to Re: dsfddf
in thread Reaped: dsfddf

Heh...well, it was just a joke but the reply got me to read the docs on use strict, which I (obviously) hadn't really used much. So is;
#!/usr/bin/perl -w use strict; my %lefthand= qw(dsfddf asdfsfda); my $lefthand=(); print $lefthand {dsfddf};

the proper usage?
Thanks for the tip.

~novice d4vis
#!/usr/bin/fnord

Replies are listed 'Best First'.
RE: RE: Re: dsfddf
by tye (Sage) on Sep 16, 2000 at 03:02 UTC

    You don't need the my $lefthand= (); line since you never use a scalar named "lefthand". $lefthand{dsfddf} accesses the hash. You use "$" because you are getting a scalar back, but it has nothing to do with the variable $lefthand.

            - tye (but my friends call me "Tye")