--- [EMAIL PROTECTED] wrote:
> From: <[EMAIL PROTECTED]>
> Date: Wed, 13 Nov 2002 03:17:32 +0900 (KST)
> To: <[EMAIL PROTECTED]>
> Subject: ���� ���� ���� �˸� <[EMAIL PROTECTED]>
>
>
> NAVER - http://www.naver.com/
> --------------------------------------------
>
> ������ (protbg) �Բ� ������ ���� <Re: Cygwin and Perl> �� ������ ����
> ������ ���� �����߽��ϴ�.
>
> --------------------------------------------
>
> �������� ���� ���� �뷮�� ������ �ֽ��ϴ�. ���߿� �ٽ� �õ��Ͻʽÿ�.
>
>
> --------------------------------------------
>
> ATTACHMENT part 2 message/rfc822 name=Re: Cygwin and Perl.eml
> Date: Tue, 12 Nov 2002 10:16:29 -0800 (PST)
> From: Paul <[EMAIL PROTECTED]>
> Subject: Re: Cygwin and Perl
> To: "Patel, SamirX K" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>
>
> Sounds more like it's trying to parse it in the shell -- perl doesn't
> use "then".
>
> add this as the 1st line of the script:
>
> #! /path/to/your/perl -w
>
> No spaces at the beginning of the line, or any lines before it!
>
> Be sure to say
> which perl
> and use that path instead of literally "/path/to/your/perl".
> Then make it executable
> chmod 755 scriptname
> and try again to run it.
>
> If that gives you too much grief, try
>
> #! /bin/env perl -w
>
> which should look it up dynamically in your path for you.
>
> Paul
>
> --- "Patel, SamirX K" <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I just installed Cygwin, and I have ActivePerl installed previously
> > (and
> > still).
> >
> > When I try running a perl script from the DOS command window, it
> > works.
> > When I try to run it from Cygwin, I get the error:
> >
> > inst.pl: 13: Syntax error: "{" unexpected (expecting "then")
> >
> > I'm guessing Cygwin has its own version if perl, and its old. How
> do
> > I get
> > uninstall Cygwin Perl and get it to point to ActivePerl?
> >
> > Thanks!
> >
> > Samir
> >
> >
> >
> >
> > Here's the snippet from around line 13:
> >
> > Line 1 :
> >
>
############################################################################
> > ###
> > Line 2 : # Instantiation program
> > Line 3 : #
> > Line 4 : # usage: inst.pl <infile>
> > Line 5 : # example: inst.pl arden.vhdl
> > Line 6 : #
> > Line 7 : #
> > Line 8 : # This script parses VHDL or Verilog files and writes
> > Line 9 : # out module instantiation and port mapping code in
> > Verilog.
> > Line 10: #
> > Line 11:
> >
>
############################################################################
> > ###
> > Line 12:
> > Line 13: if ($#ARGV<0) {
> > Line 14: print "\n";
> > Line 15: print "This script parses VHDL or Verilog files and
> > writes\n";
> > Line 16: print "out module instantiation and port mapping code
> in
> > Verilog.\n";
> > Line 17: print "\n";
> > Line 18: print "usage: inst.pl <infile> \n";
> > Line 19: print "example: inst.pl test.vhdl\n";
> > Line 20: print "\n";
> > Line 21: print "Number of Arguments read: $#ARGV\n";
> > Line 22: exit 0
> > Line 23: }
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]