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

Re: Parsing for [] in a file

by Marshall (Abbot)
on Nov 17, 2011 at 18:53 UTC ( #938660=note: print w/replies, xml ) Need Help??


in reply to Parsing for [] in a file

I even tried this and I see no output for this though( logical more sensible than the prev scrpt?

if($attr_line =~ /^\$var/ )
should be
if($attr_line =~ /^\Q$var/)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938660]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2017-08-21 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (317 votes). Check out past polls.

    Notices?