How about
my $formatted = sprintf("%05d", $number);
-Original Message-
From: SilverFox [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 1:14 PM
To: [EMAIL PROTECTED]
Subject: Playing with Numbers
Hi all, i'm trying to figure out how to test if a number is five digits
and
i
Hi,
How can I set up environment variables to be used in the script in IIS ?
Thanks,
Pradeep
seems, it matches any path with 2 sub dirs, ending with xyz and populates $1 with the
second dir
for instance
if $cur_dir = "/cgi-bin/dev/xyz"
then $1 is set to "dev"
-Original Message-
From: Hari Krishnaan [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:27 AM
To: [EMAIL PROTE
what's the difference between:
$::MY_VARIABLE
and
my $MY_VARIABLE
if they're both declared in main()?!
Obviously they're treated differently by perl because $::MY_VARIABLE does
not equal $MY_VARIABLE.
anyone?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
an [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 3:55 PM
To: Pradeep Sethi
Cc: [EMAIL PROTECTED]
Subject: Re: replacing last 4 digits
On Mar 4, Sethi, Pradeep said:
>I have a number 342389842452.
>
>how do a substitute of everything with X but last 4 digits using regular
&
Hi,
I have a number 342389842452.
how do a substitute of everything with X but last 4 digits using regular
expressions
like 2452
Thanks
Prad
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]