Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: How can I match between two integer numbers

by talexb (Chancellor)
on Jan 02, 2003 at 16:13 UTC ( #223784=note: print w/replies, xml ) Need Help??


in reply to Re: How can I match between two integer numbers
in thread How can I match between two integer numbers

    It's worth looking at the $`, $& and $' variables to help you debug regular expressions.

It's relavant to note that the speed of the regexp code in Perl decreases when these variables are used.

--t. alex
Life is short: get busy!
  • Comment on Re: Re: How can I match between two integer numbers

Replies are listed 'Best First'.
Re: Re: Re: How can I match between two integer numbers
by davorg (Chancellor) on Jan 02, 2003 at 16:22 UTC

    Absolutely. Use them for debugging, but don't use them in production code - unless you really need to :)

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2023-12-01 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?