RE: Playing with Numbers

2003-11-11 Thread Sethi, Pradeep
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

setting environment variables in IIS

2003-08-10 Thread Sethi, Pradeep
Hi, How can I set up environment variables to be used in the script in IIS ? Thanks, Pradeep

RE: A Doubt on Regular Expression

2003-05-31 Thread Sethi, 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

$::MY_VARIABLE

2002-04-19 Thread Sethi, Pradeep
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,

RE: replacing last 4 digits

2002-03-04 Thread Sethi, Pradeep
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 &

replacing last 4 digits

2002-03-04 Thread Sethi, Pradeep
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]