Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Just another Perl shrine
 
PerlMonks  

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

by InfiniteSilence (Deacon)
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


Comment on Re: How can I seralize a file for use with XML?
Download Code
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 chanting in the Monastery: (7)
As of 2014-04-20 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls