Re: change last twp digits

2004-01-05 Thread Asif Iqbal
Asif Iqbal wrote: > Hi All > > I am trying to relace any 7 digit number to to a new 7 digit number of > which last two digits are 9 > > lets pick a random 7 digit number as 1347236. > > so I want 1347236 --> 1347299 using perl > > I can do it with sed &

change last twp digits

2004-01-05 Thread Asif Iqbal
2\}/\199/'` so now $NUMBER is 1347299 Any help/suggestion would be greatly appreciated -- Asif Iqbal PGP Key: E62693C5 There's no place like 127.0.0.1 pgp0.pgp Description: PGP signature

Re: env vars using perl

2003-09-25 Thread Asif Iqbal
Thanks a lot, thats exactly what I wanted On Thu, 25 Sep 2003, Pete Emerson wrote: > Asif Iqbal wrote: > > > I can use this to get all the env variables > ... > > Now how can I use this trick to get all the web env variables ? I am using > > apache on unix (solaris

env vars using perl

2003-09-25 Thread Asif Iqbal
Hi all I am a newbie in perl. I can use this to get all the env variables #!/bin/perl foreach $key ( sort keys %ENV ) { print "$key $ENV{$key}\n"; } Now how can I use this trick to get all the web env variables ? I am using apache on unix (solaris 8) ? Please help Thanks

pipe a file to a perl script

2003-08-14 Thread Asif Iqbal
injecting it back in the queue Thanks -- Asif Iqbal http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08 There's no place like 127.0.0.1 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: pipe a file to a perl script

2003-08-14 Thread Asif Iqbal
On Tue, 12 Aug 2003, Asif Iqbal wrote: > Let me apologize first for asking a newbie/simple question > > How can I receive a mail and pipe it to a perl script? The perl script will sit > in my .forward file. Basically I want to be able to take that mail and Nevermind , I found the an

Re: delete file

2003-07-11 Thread Asif Iqbal
delete the file automatically? > > > > Thank you & best regards, > > ABC > > > > -- Asif Iqbal http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08 There's no place like 127.0.0.1 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Running Perl programs on a machine that does not have Perl installed

2003-06-23 Thread Asif Iqbal
Thanks for the help. > > --DM > > > -- Asif Iqbal http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08 There's no place like 127.0.0.1 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]