On Thu, Nov 21, 2002 at 03:26:09AM -0500, Tanton Gibbs wrote:

> Dave Storrs wrote
> > best solution.  I just wish there were some way to get away from those
> > dratted sprintf format strings.
> 
> Well, for the general case, you could create convienence functions that
> handle getting the correct format
> 
> sub hex { return "%x"; }
> 
> print "\$i is $i.as($(hex))"
> [snip]


Hmm...good suggestion; that does make me rather happier.

Thanks!

--Dks

Reply via email to