Think about Loose Coupling | |
PerlMonks |
Re^2: Inline Filesby ambs (Pilgrim) |
on Sep 05, 2007 at 21:20 UTC ( [id://637266]=note: print w/replies, xml ) | Need Help?? |
Ok, I should have explained it better.
I just want to have a .pm file where __DATA__ is: __DATA__ ==foo.jpg== 687682423AB628734FE274273894 (base64 dump) ==foo.html== <html> <head> </head> </html>and in the pm code I want to do things as: writefile($dir, "foo.jpg");I know this is quite easy to do. But probably there is a module for that already. Alberto Simões
In Section
Seekers of Perl Wisdom
|
|