P
P.R.Brady
I just can't find answers in the FAQ. It tells you how to do clever
things but I just can't find the simple things.
Q1: Is there an index to the FAQ? If not , how do you find your way
round it?
Q2: How do I exit gracefully from a program? Die is a crash close, but
is there a 'clean' finish, other than dribbling down to the end of the
source file?
Q3: I start my scripts typically with 'perl -w myprog.pl'.
How do I supply run time parameters to my program? What puts them in
@ARGV? A possibly related question - why am I entreated to put the
first line of my script as:
#!c:\perl\perl.exe -w (I'm running under windoze)?
Q4: How do I declare global variables so that 'use strict;' is satisfied?
Regards
Phil
things but I just can't find the simple things.
Q1: Is there an index to the FAQ? If not , how do you find your way
round it?
Q2: How do I exit gracefully from a program? Die is a crash close, but
is there a 'clean' finish, other than dribbling down to the end of the
source file?
Q3: I start my scripts typically with 'perl -w myprog.pl'.
How do I supply run time parameters to my program? What puts them in
@ARGV? A possibly related question - why am I entreated to put the
first line of my script as:
#!c:\perl\perl.exe -w (I'm running under windoze)?
Q4: How do I declare global variables so that 'use strict;' is satisfied?
Regards
Phil