Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: positive regex for inverted match

by Crian (Curate)
on Feb 26, 2004 at 09:11 UTC ( [id://331943]=note: print w/replies, xml ) Need Help??


in reply to Re: positive regex for inverted match
in thread positive regex for inverted match

I think that is a good suggestion. But perhaps it would be a good idea to take the flag as the second parameter (and use it optional) like this:
sub do_selection ($;$) { my $match = shift; my $flag = shift || 0; ...
In this case you don't have to change lots of other calls of do_selection.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-25 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found