Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: how to have / in FILEHANDLE?

by tobyink (Abbot)
on May 28, 2012 at 06:45 UTC ( #972784=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub hello/world {
      say "Hello World";
    }
    
  2. or download this
    *{'hello/world'} = sub {
        print shift, "\n";
    };
    
    &{'hello/world'}("Hello World!");
    
  3. or download this
    open *{'hello/world'}, '>', '/home/tai/tmp/helloworld.txt';
    print {*{'hello/world'}} "Hello World!\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-07-26 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls