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

Re: splitting on win32 linefeeds aka pass the crackpipe!

by buckaduck (Chaplain)
on Feb 14, 2002 at 02:25 UTC ( [id://145345]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $file = $filename;        # can't remember why I do this, always 
    +have
      $file =~ s!^.*(\\|\/)!!;     # something about cleaning stuff up
    
  2. or download this
      my $file = $filename;
      $file =~ s![\\/]$!!;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found