in reply to pretending that the contents of a variable are files
the handle behaves in all respects like regular filehandles, so all I/O functions work, such as seek, truncate, sysread.open($fh, "<", \$string); # read only
hm,now i am not so sure how this will help you but I hope it does
I found this trick from the cookbook receipt on perl.com.
|
|---|