in reply to Re: Convert Shell script to Perl
in thread Convert Shell script to Perl
exec does not behave in the same way on Windows and UNIX, so it might be better to use system instead, which is similar on both (although there are still a few differences).
Although the latest ksh93 versions exec on the last statement within a script, I don't think that bash does.
One other thing to be aware of, environment variables on UNIX are case sensitive but on Windows are not - that can catch you out.
Although the latest ksh93 versions exec on the last statement within a script, I don't think that bash does.
One other thing to be aware of, environment variables on UNIX are case sensitive but on Windows are not - that can catch you out.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Convert Shell script to Perl
by akrrs7 (Acolyte) on Oct 10, 2011 at 15:26 UTC | |
by Utilitarian (Vicar) on Oct 10, 2011 at 15:43 UTC |
In Section
Seekers of Perl Wisdom