On Mon, Oct 21, 2002 at 02:20:56PM -0600, Luke Palmer wrote:
> Fair enough.  Then tell me how you solve this problem: You have a text
> file in a string, that the user has marked several places in.  He's
> referring to words for which he wants to keep bookmarks in.  Now, he
> deletes text (using substr), and we want to keep the marks relative to
> the words, not their positions.  This seems easy, yet there's not
> necessarily an easy way to do it.  Uh oh, violating perl philosophy :)

Sounds like a good candidate for modulehood.

> Ok, how about this:  Is there a reason I<not> to?  Or should I not go
> there?

Off hand, it sounds expensive. I don't see a way to only let the people
who use it incur the penalty, but my vision isn't the best in the world.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to