Perl Syntax

Andrew Hammond ahammond-swQf4SbcV9C7WVzo/KQ3Mw at public.gmane.org
Tue May 24 21:28:28 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rick Delaney wrote:
> On Tue, May 24, 2005 at 04:36:54PM -0400, Andrew Hammond wrote:
> 
>>If you're learning perl, the best advice I can give you is to start
>>every single one of your programs with "use strict;", which will not
>>allow you to use barewords.
> 
> It won't stop you from using barewords as hash keys.

Nor on the left hand side of the => list operator. I guess I could have
added "except in places where the context is forced such as ..." but I
wanted to keep thing simple. If he really wants the details of what
strict does, they're in the man pages. I suspect the reason he's asking
questions here is because too much detail too soon isn't the best
approach for learning.

- --
Andrew Hammond    416-673-4138    ahammond-swQf4SbcV9C7WVzo/KQ3Mw at public.gmane.org
Database Administrator, Afilias Canada Corp.
CB83 2838 4B67 D40F D086 3568 81FC E7E5 27AF 4A9A

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCk5x7gfzn5SevSpoRAly4AJ9olzeNMxZdoNu0+fRwsnYQRhTdDwCfX0Dv
GGtyA26ud71Kx0nhJk+rjto=
=2hFw
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list