Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Inline Files

by ambs (Pilgrim)
on Sep 05, 2007 at 17:20 UTC ( #637266=note: print w/replies, xml ) Need Help??


in reply to Re: Inline Files
in thread Inline Files

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

Replies are listed 'Best First'.
Re^3: Inline Files
by Joost (Canon) on Sep 05, 2007 at 17:27 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://637266]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2020-04-10 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (49 votes). Check out past polls.

    Notices?