Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Parsing for [] in a file

by Marshall (Monsignor)
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?
NodeReaper does the danse macabre

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2016-12-04 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.