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!