Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: A better way? Extracting filename from url

by arhuman (Vicar)
on Jan 14, 2002 at 16:25 UTC ( #138555=note: print w/replies, xml ) Need Help??


in reply to A better way? Extracting filename from url

Did you try basename ?

It's not the usual way (regexes or URI::... modules) but it seems to work.
(Need some testing although...)


"Only Bad Coders Code Badly In Perl" (OBC2BIP)
  • Comment on Re: A better way? Extracting filename from url

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://138555]
help
Chatterbox?
[james28909]: but you could put it all in one sub and return the same data type that was inputted. i could write a small example maybe
[Lady_Aleena]: Their uses are also vastly different.
[Lady_Aleena]: The first two make hashes and arrays from a file, the third returns data from a pre-existing hash.
[Lady_Aleena]: Well, HoH and AoH respectively.
[Lady_Aleena]: But if you want to play, play. I don't mind. 8)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-05-24 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?