Log in



Tags » ‘perl’

I’m coding a syntax highlighter for Perl programming language, and I need all the funcs that need highlight?

November 17th, 2010 by

Question by Children Of Bodom!: I’m coding a syntax highlighter for Perl programming language, and I need all the funcs that need highlight?
Like: while, for, until, etc
please type all you can ever think of, or link me to a site.

Best answer:

Answer by John Stalvern
Check out the perlfunc and perlsyn in the Perl documentation.

http://www.perl.com/doc/manual/html/pod/perlsyn.html

http://www.perl.com/doc/manual/html/pod/perlfunc.html

Give your answer to this question below!

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