Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Why don't file handles have sigils?

by ikegami (Patriarch)
on Jul 14, 2014 at 15:31 UTC ( [id://1093565] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(FOO, '>', ...) or die $!;
    print(FOO "string\n");
    
  2. or download this
    open(*FOO, '>', ...) or die $!;
    print({ *FOO } "string\n");