Re: Reading Code

2001-06-25 Thread Jos Boumans
eur.nl> cc: [EMAIL PROTECTED] > Subject: Re: Reading Code > 25/06/01 > 15:52 > > > > This wouldnt, by chance, be your homework now would it? > > [EMAIL PROTECTED] wrot

Re: Reading Code

2001-06-25 Thread Chas Owens
perldoc perlvar will tell you almost everything you need to know about the punctuation type variables. For example @_ is @_ Within a subroutine the array @_ contains the parameters passed to that subroutine. See the perlsub manpage. On 25 Jun 2001 16

RE: Reading Code

2001-06-25 Thread John Edwards
OK. Ignore all the lines starting with a # sign. They are commented out. If you don't know what that means, stop reading now and learn some basic programming... local(@acc_fields) = @_; create an array called acc_fields which exists only within the subroutine called accum_cycle_count. Populate t

Re: Reading Code

2001-06-25 Thread EDonnelly
[EMAIL PROTECTED] Subject: Re: Reading Code

Re: Reading Code

2001-06-25 Thread Aaron Craig
At 15:59 25.06.2001 +0100, [EMAIL PROTECTED] wrote: >Can anyone tell me how to read this bit of code in english ? Basically it takes an array, checks certain values and returns an error if it doesn't like the value. If it likes all the values that it checks, it returns the return value of yet

Re: Reading Code

2001-06-25 Thread Jos Boumans
This wouldnt, by chance, be your homework now would it? [EMAIL PROTECTED] wrote: > Can anyone tell me how to read this bit of code in english ? > > > sub accum_cycle_count > > { > > # @acc_fields are: > > #0 - Cycle Counting Order > > #1 - Warehouse > > #2 - Loca