in reply to ASCII text on UNIX (Sun/Solaris 10) to MVS packed decimal (comp-3) using perl pack inline command

In your character class [0-9A-Za-z] the characters [G-Zg-z] are not hexadecimal digits so hex($1) will not be able to convert them to anything.

Posted by jwkrahn.

  • Comment on Re: ASCII text on UNIX (Sun/Solaris 10) to MVS packed decimal (comp-3) using perl pack inline command
  • Select or Download Code