Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: grepping for

by Maqs (Deacon)
on May 12, 2000 at 19:11 UTC ( #11288=note: print w/replies, xml ) Need Help??


in reply to grepping for

Why not use simply
if ($url =~ /\/$dir\//) { #... some stuff ...<br> };

IMHO, if you have a long path, your "^" in regexp might not work properly
--
With best regards
Maqs.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11288]
help
Chatterbox?
[Corion]: thezip: Wheee ;)
[stevieb]: LOL

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-02-23 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (350 votes). Check out past polls.