in reply to How do I treat a string like a filehandle?

Sorry, newbieitis. Now I'm logged in, and have a more readable version of the code from my question:
my $stringfile = FileHandle::newFromString( "One fish\nTwo fish\nThree + fish\nFour fish" ); while( <$stringfile> ) { dosomething( $_ ); }
Cheers, - jsproat

Originally posted as a Categorized Answer.