Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Inline Files

by Joost (Canon)
on Sep 05, 2007 at 20:55 UTC ( #637263=note: print w/replies, xml ) Need Help??

in reply to Inline Files

Perl modules are just files. Finding the __DATA__ line in a module shouldn't be difficult.

In other words, what are you trying to do?

Replies are listed 'Best First'.
Re^2: Inline Files
by ambs (Pilgrim) on Sep 05, 2007 at 21:20 UTC
    Ok, I should have explained it better.

    I just want to have a .pm file where __DATA__ is:

    687682423AB628734FE274273894  (base64 dump)
    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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-12-06 10:24 GMT
Find Nodes?
    Voting Booth?

    No recent polls found