Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re: Re: Re: convert windows path

by George_Sherston (Vicar)
on Nov 06, 2001 at 15:33 UTC ( #123550=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $filepath = 'c:\somedir\file.ext'
    
  2. or download this
    $filename eq 'file.ext'
    
  3. or download this
    $filepath =~ /([\w|\.]*)$/;
    my $filename = $1;
    
  4. or download this
    $filepath =~ /([^\\|^\/]*)$/;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-05-17 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (65 votes). Check out past polls.

    Notices?