in reply to cut of first char of a string

$s = unpack "xA*", $s; $s = substr($s, 1); substr($s, 0, 1, "");
Update: remove wrong $s = in the last substr thanks to nothingmuch.
Boris

Replies are listed 'Best First'.
Re^2: cut of first char of a string
by nothingmuch (Priest) on Mar 14, 2005 at 00:33 UTC
    In the last one didn't you mean without $s =?
    -nuffin
    zz zZ Z Z #!perl