Dear expert,

Is there a way to do it? Module for it? Suppose I have this large string. 


my $string = 'foo bar
              qux woo
              etc etc';



I would like to convert that string as if it is stored inside a file, and 
bypassing the file creation step. 
For example,

my $filehandle = do_sth_to_convert($string);



Such that I can straight away do things like: 

 
while (<$file_handle>) {
   print;
}


[download]

Regards,
Edward WIJAYA
SINGAPORE


------------ Institute For Infocomm Research - Disclaimer -------------
This email is confidential and may be privileged.  If you are not the intended 
recipient, please delete it and notify us immediately. Please do not copy or 
use it for any purpose, or disclose its contents to any other person. Thank you.
--------------------------------------------------------

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to