Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?

by tye (Sage)
on Dec 23, 2005 at 00:19 UTC ( [id://518701]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?
in thread Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?

my $newline = "\n"; $newline = "\r\n" if grep $_ eq "crlf", PerlIO::ge­t_layers(*­STDOUT);

- tye        

  • Comment on Re^2: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://518701]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.