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

Re: Perl hash keys not considered unique

by Eily (Monsignor)
on Apr 24, 2018 at 14:07 UTC ( #1213476=note: print w/replies, xml ) Need Help??


in reply to Perl hash keys not considered unique

FYI, to avoid having to escape every / in your pattern, you can use the m operator that lets you use another special character as a delimiter for your regex (or a pair of characters if they are symmetric). $line =~ m<File \[/opt/app/data/pulsefba/process>

Or, since you are searching for a fixed string, index could work as well.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2020-11-29 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?