http://qs1969.pair.com?node_id=129734


in reply to Padding with zeroes fails

You don't need =~ here. just use = instead. And consider using sprintf also.

--
Tatsuhiko Miyagawa
miyagawa@cpan.org

Replies are listed 'Best First'.
Re: Re: Padding with zeroes fails
by Kickstart (Pilgrim) on Dec 06, 2001 at 00:59 UTC
    Thanks, that was definitely the first error...the second came up when I attempted to assign other values to the read-only variables ($2 and $3)...both fixed, worked like a charm. Unfortunately this is just a one-of, so I didn't want to write a big multi-use script. Kickstart