in reply to How do I treat a string like a filehandle?
Cheers, - jsproatmy $stringfile = FileHandle::newFromString( "One fish\nTwo fish\nThree + fish\nFour fish" ); while( <$stringfile> ) { dosomething( $_ ); }
Originally posted as a Categorized Answer.
|
|---|