Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to replace in one regexp

by vitoco (Friar)
on Oct 01, 2009 at 21:46 UTC ( #798743=note: print w/ replies, xml ) Need Help??


in reply to How to replace in one regexp

#$path =~ s{\?.*$}{}; #$path =~ s{[^/]+$}{}; $path =~ s{[^/\?]*(\?.*)?$}{};


Comment on Re: How to replace in one regexp
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2014-09-17 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (91 votes), past polls