IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Another Perl question
I have a string that I read from input piece by piece. I need to find out if that string is a prefix for a constant string that I have. Or, to be more precise, I need to find out if this string _could_possibly_ match a regexp I have (could match if I add apropriate characters later).
--


And what are we doing when the two most powerful nations on earth -- America and Israel -- stomp on the elementary rights of human beings?

-- letter to the editor from W. Ostermeier, Liechtenstein

New There is no good way to do that
There will be in Perl 6, but not in Perl 5.

For an example of someone else with the same desire, see the thread at [link|http://www.perlmonks.org/?node_id=225083|http://www.perlmonks.org/?node_id=225083]. As I point out in the last post there, there is a bad way to do it, and that way may be found implemented on CPAN in [link|http://search.cpan.org/~smueller/File-Stream-1.11/lib/File/Stream.pm|File::Stream].

The trick to do it is very horrendous. :-(

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
New What about IO::ALL?
Wouldn't IO:ALL be able to do that?
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Military Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New Is that a CPAN module? Update: yes it is
And I don't see how it helps me...
--


And what are we doing when the two most powerful nations on earth -- America and Israel -- stomp on the elementary rights of human beings?

-- letter to the editor from W. Ostermeier, Liechtenstein

Expand Edited by Arkadiy March 18, 2005, 04:14:57 PM EST
New I was reading the description and there are tremendously
More things to it, if you add IO::All::LWP it can wonderous things. Going through everything, I really thought I'd read something about doing some kind of pre-qualification...

Now that I have gone back over what I was reading, you are right. I don;t see where I might have read that. I could have been reading some other language too. I was reading a TON today.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Military Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New No
IO::All is an amazing set of shortcuts for input/output. It doesn't extend Perl's regular expression engine.

At least not as of the last time that I looked.

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     Another Perl question - (Arkadiy) - (5)
         There is no good way to do that - (ben_tilly) - (4)
             What about IO::ALL? - (folkert) - (3)
                 Is that a CPAN module? Update: yes it is - (Arkadiy) - (1)
                     I was reading the description and there are tremendously - (folkert)
                 No - (ben_tilly)

That's some other guy with too much face above his eyes.
45 ms