Trying to use strict

2002-01-24 Thread Lysander
Okay, after reading various documents online I have decided to try and write my code using -w and strict. So here is the problem. How do I pass Arrays to subs? I assume declaring everything main:: would pretty much undermine the whole point of strict vars. So... for example I have this sub

Re: Trying to use strict

2002-01-24 Thread Shawn
- Original Message - From: Lysander [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 2:23 PM Subject: Trying to use strict Okay, after reading various documents online I have decided to try and write my code using -w and strict. So here is the problem. How do

RE: Trying to use strict

2002-01-24 Thread Bob Showalter
-Original Message- From: Lysander [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 3:23 PM To: [EMAIL PROTECTED] Subject: Trying to use strict Okay, after reading various documents online I have decided to try and write my code using -w and strict. Excellent

Re: Trying to use strict

2002-01-24 Thread Lysander
- Original Message - From: Shawn [EMAIL PROTECTED] To: Lysander [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 2:36 PM Subject: Re: Trying to use strict - Original Message - From: Lysander [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday

RE: Trying to use strict

2002-01-24 Thread Nikola Janceski
To: [EMAIL PROTECTED] Subject: Re: Trying to use strict But how do you pass Arrays (plural)? Would it be my arr1 = @_[0]; my arr2 = @_[1]; Would that work with the my $diemessage = $_[0]; that I am already using? Sheridan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Trying to use strict

2002-01-24 Thread Jim Conner
, 2002 2:36 PM Subject: Re: Trying to use strict - Original Message - From: Lysander [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 2:23 PM Subject: Trying to use strict Okay, after reading various documents online I have decided to try and write my

RE: Trying to use strict

2002-01-24 Thread Timothy Johnson
] Subject: Re: Trying to use strict -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.0.6 (MingW32) Comment: For info see http://www.gnupg.org At 14:53 01.24.2002 -0600, Lysander wrote: - Original Message - From: Shawn [EMAIL PROTECTED] To: Lysander [EMAIL PROTECTED]; [EMAIL PROTECTED

Re: Trying to use strict

2002-01-24 Thread Jeff 'japhy' Pinyan
On Jan 24, Jim Conner said: sub functionname { my $array1 = $_[0]; # note that we are using a scalar to store the my $array2 = $_[1]; my $array3 = $_[2]; print join( - ,@array1),\n; # and then we de-reference the scalar Except that you're not -- this doesn't pass strict.

RE: Trying to use strict

2002-01-24 Thread Bob Showalter
-Original Message- From: Lysander [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 4:06 PM To: Bob Showalter; [EMAIL PROTECTED] Subject: Re: Trying to use strict - Original Message - From: Bob Showalter [EMAIL PROTECTED] To: 'Lysander' [EMAIL PROTECTED

Re: Trying to use strict

2002-01-24 Thread Jim Conner
At 16:27 01.24.2002 -0500, Jeff 'japhy' Pinyan wrote: On Jan 24, Jim Conner said: sub functionname { my $array1 = $_[0]; # note that we are using a scalar to store the my $array2 = $_[1]; my $array3 = $_[2]; print join( - ,@array1),\n; # and then we de-reference the