|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Moose and File::Tempby ColonelPanic (Friar) |
| on Nov 19, 2012 at 12:41 UTC ( [id://1004525]=note: print w/replies, xml ) | Need Help?? |
|
When a filehandle reference is contained in something more complex than a simple scalar variable, it has to be surrounded by braces:
Otherwise, the interpreter doesn't realize that is a filehandle. Some, though not all, monks consider it a good practice to always use braces for filehandle references. When's the last time you used duct tape on a duct? --Larry Wall
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||