Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Ways to delete start of string

by hsmyers (Canon)
on May 24, 2008 at 20:25 UTC ( #688323=note: print w/replies, xml ) Need Help??


in reply to Re: Ways to delete start of string
in thread Ways to delete start of string

'reverse' seems fairly intuitive, longer the string the greater the work (times two in fact). 'regex' looks like it is seeking constant time of sorts. I'm clueless on the flip flop with 'substr_mod' and 'substr_copy'.

--hsm

"Never try to teach a pig to sing...it wastes your time and it annoys the pig."

Replies are listed 'Best First'.
Re^3: Ways to delete start of string
by moritz (Cardinal) on May 24, 2008 at 20:39 UTC
    If you really want to know, look in pp.c in the perl source, in blead it's in lines 3055 to 3223.

    I skimmed it quickly and still have no clue how it does things - too many macros, too little knowledge from my part.

      Hmmm... I'm perfectly willing to let sleeping curiosities lie.

      --hsm

      "Never try to teach a pig to sing...it wastes your time and it annoys the pig."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2019-12-11 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?