From: Paul Nickerson <[EMAIL PROTECTED]>
> In short, I'm looking to do this: integer 4 -> string dbt0004sfg, and
> integer 287 -> string dbt0287sfg.

$filename = sprintf "dbt%04dsfg", $number;

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]
http://learn.perl.org/


Reply via email to