Re: Problem with Perl and Fedora Core 1
From: Mark Eggers (mdeggers_at_earthlink.net)
To: email@example.com Date: Sat, 14 Feb 2004 13:00:25 -0800
I just ran the following quick test:
print "This is from the original perl script\n";
print "This is from the child script via exec\n";
[mdeggers@phoenix perl-src]$ ./parent.pl
This is from the original perl script
This is from the child script via exec
My system is as follows:
[mdeggers@phoenix perl-src]$ perl -v
This is perl, v5.8.1 built for i386-linux-thread-multi
[mdeggers@phoenix perl-src]$ uname -a
Linux phoenix 2.4.22-1.2166.nptl #1 Fri Jan 30 13:48:31 EST 2004 i686
i686 i386 GNU/Linux
My guess is that your namelookup.pl is not in the path of the user. If
it's in the same directory, check to see if '.' is in the path.
This isn't the best security practice, and putting in the absolute path
would probably be a good idea.
There are other solutions (perl programming) that entail making a module
with functions and putting that in /usr/lib/perl5/site_perl/5.8.1.
just my two cents
-- fedora-list mailing list firstname.lastname@example.org To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list