[sf-perl] A beginners' Question
nheller at silcon.com
nheller at silcon.com
Mon May 7 17:09:10 PDT 2007
I read PerlDocs and this is what I tried:
1. chdir "c:\\sqlscr";
2. my $target = readlnk("Multi_SQL.pl");
3. system "Perl $target";
I received a fatal error that line 2 (above) contained a call to an
"Undefined Subroutine". I couldn't tell from Perl Docs what I should have
included (require...?).
Can you give me some insight.
Neil Heller
> readlink() ? Then execute the target?
>
> perldoc -f readlink
>
> don't know if works in waanderz.
>
> On 5/7/07, nheller at silcon.com <nheller at silcon.com> wrote:
>> I'm trying to write a Perl script in Winderz. At one point in my
>> script,
>> I want to launch another Perl script.
>>
>> system "Perl secondScript.pl";
>>
>> The problem I'm having is that secondScript.pl is a link to the real
>> secondScript.pl (which is at a location with a very long URN) and Perl
>> balks at executing the link.
>>
>> Does anybody have an idea about how I can get around this?
>
> --
> Live in a world of your own, but always welcome visitors.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
More information about the SanFrancisco-pm
mailing list