Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Title Re: collapsing revisited

by tadman (Prior)
on Jun 08, 2002 at 20:23 UTC ( [id://172832]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Title Re: collapsing revisited
in thread Title Re: collapsing revisited

I suppose what I was wondering was why you left your match unmemorized, and then used $&. I've been lead to believe that's bad form, since once you open that Pandora's box ($`, $& and $'), all your regexes become slower as a result.

Replies are listed 'Best First'.
Re(4): Title Re: collapsing revisited
by Dog and Pony (Priest) on Jun 08, 2002 at 21:24 UTC
    Oh. I had actually forgot that. Do you know if that is the same thing with @- and @+? I can use those instead, at the price of higher obfuscation... :)

    Thanks for the heads up!

    (I just *had* to change the Re: style *grin*).


    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.
      (Me too. :-))

      Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-26 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found