Cheers, - jsproatmy $stringfile = FileHandle::newFromString( "One fish\nTwo fish\nThree + fish\nFour fish" ); while( <$stringfile> ) { dosomething( $_ ); }
Originally posted as a Categorized Answer.
In reply to Re: How do I treat a string like a filehandle?
by sproaticus
in thread How do I treat a string like a filehandle?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |