A. Sinan Unur said:
***
DESCRIPTION
If no import list is supplied, all possible restrictions are
assumed.
(This is the safest mode to operate in, but is sometimes too
strict for
casual programming.)
***
So leaving it out means it is included anyway? I understand though that
it is best to include it implicitly.
While you are at it, you should read the posting guidelines as well
I've been posting in usenet for a fair while, what did I do wrong?
How should I put this? You are not telling the truth. If you had run
this script with warnings enabled, you would have gotten:
D:\Home\asu1\UseNet\clpmisc\cafe> perl -Mwarnings t.pl
Possible unintended interpolation of @argv in string at t.pl line 6.
Name "main::argv" used only once: possible typo at t.pl line 6.
Length =
Length = 0
At which point, you would have checked
perldoc perlvar
to see if there really was a variable called @argv.
Ok, my bad again. I was using warnings but I didn't use them
specifically on that script. That was a mistake, I had trimmed down
script and run it without warnings to just check it did the same thing
in terms of output and it did. As I said, that is a mistake on my behalf
for not running it again with warnings.
I'm just learning of tutorials I find online. I suppose my downfall is
not taking all the time to go through every detail because I'm fluent in
a number of programming languages, perl however is a little different.
Thanks for your help
Lionel.