Re: Passing variables to subroutines

2001-04-28 Thread Dave Watkins
Works like a charm Thanks At 09:57 PM 4/28/01 -0500, you wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >On Sun, 29 Apr 2001, Dave Watkins wrote: > > > Hi All > > > > I am trying to pass a variable, a hash table and an array into a subroutine > &g

Passing variables to subroutines

2001-04-28 Thread Dave Watkins
Hi All I am trying to pass a variable, a hash table and an array into a subroutine like so subroutine($variable, %hash, @array); and pick it up like so sub subroutine { my($variable, %hash, @array) = @_; but it seems the array isn't being passed, I can print the contents of the arra