Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 chilling in the Monastery: (10)
As of 2014-07-28 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (198 votes), past polls