> > This isn't a Perl script. This is a shell script to be executed by > whichever shell lives at /usr/bin/sh on your system. It sets the shell > variables ORACLE_HOME and LD_LIBRARY PATH, and then calls /bin/perl to > re-evaluate the file. When the perl interpreter reads the file, it > ignores the shell statements. See perlrun for the gory details. > > A less complex method would be to just set $ENV{ORACLE_HOME}, etc. in Perl. > > HTH, > > --jay
Thanks Jay, I am used to doing things by setting the %ENV hash too. It was the shell construc, eval '....' if 0; (Will this ever execute?) and the exec /bin/perl $0 ${1+"$@"}; that threw me off. I will refer to perlrun for additional details. -YAPH -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/