Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: RE: Re: searching backwards in a string

by nuance (Hermit)
on Jun 13, 2000 at 16:49 UTC ( [id://17881]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: searching backwards in a string
in thread searching backwards in a string

If all your code did was that very small snippet then it would indeed be an infinite loop. However, the loop was given as an example and the comment was supposed to be replaced with code that does something useful

the inside of the loop should look something like: (untested)

push @lines, substr $_, 0, length $1, "";

Nuance

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found