Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 browsing the Monastery: (3)
As of 2015-09-01 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (50 votes), past polls