my @interests = ( "foo", "bar", "blah" ); foreach (@interests) { no strict 'refs'; $$_ = "My interest is $_"; } foreach (@interests) { no strict 'refs'; print $$_ , "\n"; }
In reply to Re: use strict
by borisz
in thread use strict
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |