That should be%words = qw ( fred camel barney llama betty alpaca wilma alpaca );
my declares a variable to be a lexical, which means "non-global". You have to declare all your variables the first time you use it to be 'strict', so to speak.my %words = qw ( fred camel barney llama betty alpaca wilma alpaca );
------
/me wants to be the brightest bulb in the chandelier!
Vote paco for President!
In reply to Re: Strict Usage
by dragonchild
in thread Strict Usage
by All0uette
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |