for (@_) {
     sprintf ("%08b", $_).
     sprintf ("%4d", $_).
     sprintf ("%4o", $_).
     sprintf ("%4X", $_).
     "\n";
 }

Would you maybe use 'printf' instead of 'sprintf' above?



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to