Hi,

Suppose that there is statement given below.

my $f = unpack 'u', q{7!084$0Q(05-?3U9%4DQ/040*!'-N;W<`};

after this $f will have the value given below.

¢¼¢Ò

HAS_OVERLOAD

♦snow

after this statement $f is passed as a parameter for thaw as given below.

my $t = eval {thaw $f};

After this if we try to print $@(built in variable which contain error statement if there were any error in the previous statement.) then in EBCDIC it is printing the error where as in ASCII it is not .

print "# $@" if $@;

 

This is happening because $f in case of EBCDIC is having some junck character instead of having

¢¼¢Ò

HAS_OVERLOAD

♦snow

Now can any tell

What is this (7!084$0Q(05-?3U9%4DQ/040*!'-N;W<`) represent?

What is the meaning of

¢¼¢Ò

HAS_OVERLOAD

♦snow?

What is the equivallent string of 7!084$0Q(05-?3U9%4DQ/040*!'-N;W<` in EBCDIC, so that we get the same out put if we do the unpack of the string in EBCDIC as in ASCII?

With Thanks & Regards

Yaseen

 


Start your day with Yahoo! - make it your home page

Reply via email to