Re: bash in perl

2009-02-11 Thread Nikhil Babu
I agree and i accept my folly. Thanks [?] I guess being a novice clearly shows. Forever Nikhil Babu On Tue, Feb 10, 2009 at 7:50 PM, Chas. Owens wrote: > On Tue, Feb 10, 2009 at 04:03, Nikhil Babu wrote: > > Hi, > > > > you can very well try the following &

Re: bash in perl

2009-02-10 Thread Nikhil Babu
Hi, you can very well try the following $x = ENV{'PWD'}; this reads the present working directory from the $PWD environment variable. On Feb 7, 6:59 pm, pouliakh...@gmail.com (Pouliakhina) wrote: > Hello, > > I try to write the name of the current directory in $x: > > $x = system ("pwd"); > >

How to create windows service

2008-08-26 Thread nikhil mehra
HI, Assuming I am doing ent level scripting, I want my app to run in background and not in foreground. I want the perl script to be registered under windows services so that we can run it on demand. Is it possible ? does anyone know ? how to register it under windows services. -- Nikhil Mehra

egrep

2008-08-19 Thread nikhil mehra
Hi, Can we use egrep in perl program which would just open a file and search a literal string using egrep. Cna some one help me with syntax. Thanks, -- Nikhil Mehra "The only Constant in Life is CHANGE!" "Whether it is mainframe, client-server, distributed, grid or web ser

Re: how to mail ??

2005-03-27 Thread Nikhil
Why not use a module Mail::Sendmail grab the output relatively into an array configure the mail parameters and send the output array as the mailbody. looks fine. if the output is needed as an attachment , use the system command uuencode with mailx that should do. Wiggins d'Anconia wrote: Moon, Joh

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Nikhil
Just execute perl and say "use forexample : perl -e "use Net::SNMP;" it will throw errors if the module "Net::SNMP" was not installed , if not your module is installed then :) Manish Sapariya wrote: Hi list, How do I know whether a given module is installed on machine or not? Thanks and Regards, M

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread M Nikhil \(Juno\)
Just execute perl and say "use forexample : perl -e "use Net::SNMP;" it will throw errors if the module "Net::SNMP" was not installed , if not your module is installed then :) "Manish Sapariya" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi list, > How do I know whether a given