Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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


Comment on Re: How can I seralize a file for use with XML?
Download Code
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 lurking in the Monastery: (14)
As of 2015-07-31 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls