Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Including files

by Aristotle (Chancellor)
on Sep 26, 2004 at 16:16 UTC ( #393966=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $code = join(
        "\n",
        qq[#line 1 "$filename"],
        File::Slurp::read_file($filename)
    );
    
  2. or download this
    my $code = qq[#line 1 "$filename"\n] . File::Slurp::read_file($filenam
    +e);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2014-07-28 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (202 votes), past polls