Horst Walther wrote:
> Hi, dear colleagues.
> In a script I wish to build a name (string), which consists also an 
> countervalue, derived from a loop counter. 
> For the small values (0 to 9) shall the string consist the leading zero (00 
> .... 09). 
> Whats to do?  
> At the moment I dont see the solution, so big the door is!
> 
> Please help me!
> 
> 
> Horst

Hello Horst,

The sprintf() function is the one you need.  "perldoc -f sprintf" should
give you the full details.

Cheers,

kjw
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to