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

Re: splitting on win32 linefeeds aka pass the crackpipe!

by buckaduck (Chaplain)
on Feb 14, 2002 at 02:25 UTC ( #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? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-01-25 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (66 votes). Check out past polls.

    Notices?