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

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

by Tyke (Pilgrim)
on Nov 06, 2001 at 15:26 UTC ( #123549=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: convert windows path
in thread convert windows path

If you're just trying to extract a file from a path then something like
$var =~ /([^\\\/]*)$/ and $file = $1
should work. (I'm sure that there's a FAQ on this). Or you might want to try one of the File::Path modules, but that's probably overkill.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://123549]
help
Chatterbox?
[Corion]: marto: Heh - we've got the rain here, now. But it's only intermittently, not permanent. But funny that you should complain about rain ;)
[Discipulus]: rain? i dont remember it..
[marto]: and good news all round, Flash will die come 2020!
[Corion]: So who will be the saviour of the universe, then?!
[marto]: Corion++, asking the right questions
[marto]: the rain is back

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-07-26 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (390 votes). Check out past polls.