Craig Moynes/Markham/Ibm wrote: > > Somehow I got myself into a pickle. > > I have a string being set by a command that is executing (and the command > is failing). I strip out the newline characters. > The length is returned as 21, when split into an array the size is 21. Yet > when I try: > print "!$returned!\n"; > > I get returned: > !! > > Any ideas ?
printf '%02X ', ord for split //, $returned; This will print out the hex values of all the characters in $returned. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]