This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: precompiled perl?


--- Nancy McGough <nm@NoAdsPlease.ii.com> wrote:
--8<--
> I've now downloaded, bunzipped, and untarred it and successfully run a
> perl script! Here are a couple questions: The first line of my script
> is:
> 
>  #!perl
> 
> and it works fine because perl is on my path. But, if perl weren't on
> my path, what is the best thing to put as the first line of the
> script. On my system perl is in C:\Cygnus\cygwin-b20\usr\local\bin but
> when I'm in the Cygwin bash window I'm not sure what's considered the
> root directory.
> 
> Another Q: Is it possible to send a file to a Cygwin perl script from
> within Windows Explorer. E.g., by right clicking and choosing Send To
> and having the script be one of the Send To choices. Any pointers to
> launching Cygwin stuff from within Windows would be great.
--8<--

bash$: cd /
bash$: ln -s //c/Cygnus/cygwin-b20/usr usr

perl.ps

#!/usr/local/bin/perl
...

===
"Earnie Boyd" <mailto:earnie_boyd@yahoo.com>
CYGWIN RELATED HELP:
 DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
                <http://www.eGroups.com/list/gnu-win32/>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com