]
[mailto:[EMAIL PROTECTED] On Behalf Of Horst
Walther
Sent: Monday, June 12, 2006 1:03 PM
To: activeperl@listserv.ActiveState.com
Subject: formatted output to a variable
Hi, dear colleagues.
In a script I wish to build a name (string), which consists also an
countervalue, derived from a loop counter.
> 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 th
TECTED] Behalf Of Horst
Walther
Sent: 12 June 2006 18:03
To: activeperl@listserv.ActiveState.com
Subject: formatted output to a variable
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) s
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 th
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 t
hi horst --
In a message dated 6/12/2006 7:16:32 P.M. Eastern Standard Time,
[EMAIL PROTECTED] writes:
> 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 str
- Original Message -
From: "Horst Walther" <[EMAIL PROTECTED]>
To:
Sent: Monday, June 12, 2006 7:03 PM
Subject: formatted output to a variable
Hi, dear colleagues.
In a script I wish to build a name (string), which consists also an
countervalue, derived from a loop
Horst Walther wrote:
: 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?
foreach my $counter ( '00' .. '09' ) {
print "$count
[EMAIL PROTECTED] 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?
use sprintf and a leadi
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!
Pl
10 matches
Mail list logo