This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: activestate perl on cygwin

On Fri, 12 Jan 2007, Kevin T Cella wrote:

> > Although this is thorough off topic, perhaps you can explain it better
> > to me as I don't use ActiveState therefore I don't see what you are
> > claiming. Exactly which "full path" is expanded to "what" and passed to
> > (guess) ActiveState Perl interpreter as, again, what? Is it $0 that you
> > speak of that may be a Cygwin path? I'm confused however if it is $0
> > then why couldn't that also be handled in the Perl script?
> The error is as follows:
> [~] $
> Can't open perl script "/home/kcella/bin/": No such file or
> directory
> [~] $ ls -l /home/kcella/bin/
> -rwxr-xr-x 1 kcella None 651 Jan 12 07:33 /home/kcella/bin/

That particular case is handled by the wrapper script I posted.  Note that
you *don't* need to use the wrapper script to invoke perl on the command
line -- only in the #! (shebang) line of your script file.
      |\      _,,,---,,_ |
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]