Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Including files

by Juerd (Abbot)
on Sep 26, 2004 at 20:24 UTC ( #394003=note: print w/ replies, xml ) Need Help??

in reply to Re: Including files
in thread Including files

You provide list context to read_file, only to then glue all the lines back together anyway.

Oops. That join is a left over bit of an earlier, more complex, attempt. Because Perl doesn't care about double newlines, and I didn't test with multi-line strings, and haven't even looked at line numbers, I never noticed that anything was wrong.

You are of course right that simple concatenation is better here. I'll update the node right away.

Juerd # { site => '', plp_site => '', do_not_use => 'spamtrap' }

Comment on Re^2: Including files

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-11-27 07:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (719 votes), past polls