Re: [Perl-unix-users] rcp says permission denied , or unknown host- soln found

2002-11-06 Thread PRADEEP GOEL
Thanks a lot I really don't understant what's meant by post in HTML, and cross post ya it did worked on prompt i have the soln as well the problem was escaping @with \ i.e. root\@ Regards Pradeep - Original Message - From: "Allegakoen, Justin Devanandan" <[EMAIL PROTECTED]>

RE: [Perl-unix-users] rcp says permission denied , or unknown host

2002-11-06 Thread Allegakoen, Justin Devanandan
---8<--- system("rcp $workdir/installP.pl $remhost:installP.pl"); says permission denied i am not much familier with rcp i have tried several combination such as applying " root@ " before $workdir etc sometimes it says permission

[Perl-unix-users] rcp says permission denied , or unknown host

2002-11-06 Thread PRADEEP GOEL
 system("rcp $workdir/installP.pl $remhost:installP.pl");  says permission denied    i am not  much familier with rcp    i have tried several combination such as applying "  root@ "  before $workdir  etc sometimes it says permission denied or else it says unknown host    machine on which

[Perl-unix-users] Help DynaLoader

2002-11-06 Thread Mundell, R. \(Ronald\)
Good Day All   I would like to know if any of you people out there have ever used the DynaLoader module. If so could you please help me to get it working?   Thanks   Ronald Mundell Nedcor BG3 881-3751(011) 083407  

Re: [Perl-unix-users] setting environmental variables

2002-11-06 Thread parvez
Hi, Could try this out: ## code start #!/usr/bin/perl BEGIN { $ENV{MY_VAL} = 'This is It'; } print "ENV = ",$ENV{MY_VAL},"\n"; ## code ends Parvez ___ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveSt

RE: [Perl-unix-users] setting environmental variables

2002-11-06 Thread Torbjørn Lindahl
Could you show me a working example of this? Regards, Torbjørn Lindahl On Wed, 6 Nov 2002, Rumpf, Christopher wrote: > I got around it one by cheating (hack). > > I set the env variable...then just spawned $ENV{SHELL} which > inherits the var you set earlier - and then just waited for > the pid

RE: [Perl-unix-users] setting environmental variables

2002-11-06 Thread Rumpf, Christopher
I got around it one by cheating (hack). I set the env variable...then just spawned $ENV{SHELL} which inherits the var you set earlier - and then just waited for the pid of the spawned SHELL process to return before exiting the perl script. Just an idea which may work for you. Gl. -Chris -O

Re: [Perl-unix-users] setting environmental variables

2002-11-06 Thread Bayard Bell
This can't work. Perl is running as a child process. Parents can't inherit the environments of their children. Environment settings can only be propagated to children. Torbjørn Lindahl wrote: > > Hi list, > > how can I set an environmental variable from within perl - so that it will > be vali

[Perl-unix-users] setting environmental variables

2002-11-06 Thread Torbjørn Lindahl
Hi list, how can I set an environmental variable from within perl - so that it will be valid after the perl script has completed as well? i have done the following... $ENV{'MY_ENV_VAR'}="Some value"; ...and in shell... echo $MY_ENV_VAR ...but no good. I also tried... system("export MY_ENV_V

[Perl-unix-users] DynaLoader

2002-11-06 Thread Mundell, R. \(Ronald\)
Good Day All   I would like to know if any of you people out there have ever used the DynaLoader module. If so could you please help me to get it working?   Thanks   Ronald Mundell Nedcor BG3 881-3751(011) 083407