This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ActiveState Perl and Cygwin How To
Csaba Raduly <rcsaba <at> gmail.com> writes:
> > I have been using Cygwin for quite some time now on Windows XP. I use
> > Perl extensively and the scripts I use/create are fairly portable.
> > I want to use ActiveState Perl as I can install many modules from CPAN
> > that give me trouble in Cygwin using cpan install ...
Ultimately, it makes more sense to use Cygwin's perl with cygwin, rather than a
third-party perl that doesn't understand cygwin.
> P.S. Can somebody explain what ${1+"$@"} does and why it's used
> instead of just $@ ?
> I hate doing cargo cult programming.
http://www.gnu.org/software/autoconf/manual/autoconf.html#Shell-Substitutions
which documents how use of ${1+"$@"} works around bugs in older zsh and ksh.
Actually, modern ksh apparently still has a different bug, which it does not
work around:
http://lists.gnu.org/archive/html/automake-patches/2010-02/msg00005.html
so patches to the autoconf manual are welcome. But this is starting to stray
(WAY) off-topic for cygwin.
--
Eric Blake
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple