Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Bug in script, regex help req extreme urgent

by sid.verycool (Novice)
on Mar 10, 2013 at 07:22 UTC ( #1022652=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Bug in script, regex help req extreme urgent
in thread Bug in script, regex help req extreme urgent

ohk... i didnt knew about this feature that explains like this. Another important point i wish to make, I want to ignore // lines. Suppose somebody writes something like // module OLD(Y, A, B); would my $string not match and make script behavior wrong?? thats why i was trying to give ^module (WHICH MAKE SURE THAT ITS NOT A COMMENT). WHITESPACE AND TABS ARE OK BUT NO // BEFORE matching expression


Comment on Re^4: Bug in script, regex help req extreme urgent
Download Code
Re^5: Bug in script, regex help req extreme urgent
by jms53 (Monk) on Mar 10, 2013 at 13:51 UTC
    next if m{\A//}
    J -

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2015-07-03 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls