At 19:15 2002-11-14 -0500, Mike Brentlinger wrote:
ive played with Convert::UU to uuencode a binary file as some strings that could be stored as just a variable in the script and i have examples that uu encodes and uu decodes a exe just fine... the problem is that the encoded strings have things like ' and " and what not... ie
There are lots of ways to quote string literals in Perl.

my $var = q{slfk''f f 'fs''s d
4325""J€K#€lkjlkJ
};

Type "perldoc perlop" in a command window for more info (that's the same as looking up the corresponding web page in c:\perlp\html where the docs live)


Another way is:

my $var2 = <<EOT;
slkdf
sdf
3432""''dsfdf''sdf'sdf"sdf
EOT


/J

-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]

Latest bookmark: "Perfect Productivity - Tony Bowden Understandin..."
http://www.tmtm.com/insanity/2002/11/12.html
dmoz (1 of 22): /Society/Activism/Media/Radio/ 63


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Reply via email to