Hi, thanks for the response,
I observed this behavior on Windows, Linux and NetWare.
On Mon, 28 Mar 2005 03:05:10 -0800, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Rathna N wrote:
> > Hi,
>
> Hello,
>
> > I've a very basic question for clarification.
> >
> > 1.c:/script1 has below lines
> > $ENV{PERL_ROOT} ='D:/';
> > open(fh,'perl script2.pl |');
> > $x=<fh>;
> > close fh;
> > print $x;
> >
> > 2. Script2 has just one line
> > print "hello";
> >
> > When I execute the script 1, it doesn't execute or find script2.
> > It works fine, if I give complete path.
> >
> > Any idea, why its happening so.. ?
> >
> > any pointers to some documentation, how PERL_ROOT really works is also
> > welcome.
>
> perldoc perlrun
>
> PERL_ROOT (specific to the VMS port)
> A translation concealed rooted logical name that contains
> perl and the logical device for the @INC path on VMS only.
> Other logical names that affect perl on VMS include
> PERLSHR, PERL_ENV_TABLES, and SYS$TIMEZONE_DIFFERENTIAL
> but
> are optional and discussed further in perlvms and in
> README.vms in the Perl source distribution.
>
> So, are you running your programs on the VMS operating system?
>
> John
> --
> use Perl;
> program
> fulfillment
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
--
Regards,
Rathna.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>