in reply to Strange command line output after using Storable.pm

I don't have the module, but try doing something like:
my $stored = freeze($hash); $stored =~ s/\r/\\r/g; $stored =~ s/\n/\\n/g; $stored =~ s/\t/\\t/g; $stored =~ s/\cH/\\b/g; print "<$stored>\n";
That will show you if there are any bizarre characters in the string.

japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re: Re: Strange command line output after using Storable.pm
by nysus (Parson) on Jun 12, 2001 at 06:40 UTC
    I tried your suggestion but I still get "PuTTYPuTTY" on the command line.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot";
    $nysus = $PM . $MCF;