Log in



Categories » ‘OpenWGA’

Asciio Screencast 1 (part 1/2)

November 17th, 2010 by

Asciio is a Perl/GTK application for drawing diagrams that can be exported as ASCII.
Video Rating: 4 / 5

How to run perl script in cygwin?

November 17th, 2010 by

Question by Kuan Hoong: How to run perl script in cygwin?
I am a newbie in perl. I would like to know what is the command to run a perl script in cygwin.

Best answer:

Answer by littlebhishma
You can run the perl script by the following ways:

1. on command prompt type /usr/bin/perl your_script_name and press enter
2. Or you can add the following line to the top of the perl script:
#!/usr/bin/perl

Once you add that line you execute the script by typing fully qualified script_name and press enter. To run a script in the current directory should ./script_name.extension (Unix will not look for the script in the current directory by default).

Add your own answer in the comments!


Powered by Yahoo! Answers