Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Exempting through search

by bikeNomad (Priest)
on Jul 26, 2001 at 01:05 UTC ( [id://99804]=note: print w/replies, xml ) Need Help??


in reply to Exempting through search

You could use the m// operator:

$semi_count += () = m{;(?!\s*End)}g;

update: added the \s* (didn't see the space initially)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-16 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found