Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How can I seralize a file for use with XML?

by InfiniteSilence (Curate)
on Jan 31, 2012 at 23:22 UTC ( #951093=note: print w/ replies, xml ) Need Help??


in reply to How can I seralize a file for use with XML?

You could also try:
use MIME::Base64; ... for my $file (@files) { next if $file eq "." || $file eq ".."; $DIR{$file} = encode_base64(read_file "$directory/$file"); } ...

Celebrate Intellectual Diversity

Replies are listed 'Best First'.
Re^2: How can I seralize a file for use with XML?
by Lamont85 (Novice) on Feb 02, 2012 at 18:47 UTC
    This approach works perfectly! Thanks for the help!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2016-06-29 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (376 votes). Check out past polls.