From: "Miguel Angel Morales" <[EMAIL PROTECTED]>
> Thank you very much Jenda, I used the code
>
> > $hex = unpack('H*', $servidor);
> > $hex =~ s/(..)/$1 /g;
> > print $hex;
>
> you send me and at the end of the register appears the 0D 0A hex
> characters, so this should be the problem. How can I remove this
> characters from the variable?
0D 0A is CR LF, that is the DOS/Windows newline.
You can remove it with
$servidor =~ s/\s+$//;
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]