Re: why can't I collapse reference variables?
[email protected] (James E Keenan) Sat, 28 Nov 2009 09:07:22 -0500
| Newsgroups | perl.scripts |
|---|---|
| Message-ID | <[email protected]> |
On Nov 27, 2009, at 10:48 PM, Mark_Galeck wrote: > $ref = \@foobar; > print @$ref; > > then why can't I do this: > > print @\@foobar; use strict; use warnings; > ------------------------------------ > I have this kind of problem often, If you're having this problem often, it's probably because you're not using strictures and warnings often.