in reply to Re: passing multiple items to a subroutine
in thread passing multiple items to a subroutine

tanx Grygonos
your ans was exactly what done the trick.. i only been programming perl for bout a month now so i going to leave the two pragma there for another while anyways until i get more confident in my own programming..
my @data = ($xarray,$values);
the @data expects a reference to two arrays
as i said at the start i just an amatuer in the land of perl so forgive the stupid ques tanx tommycahir

Replies are listed 'Best First'.
Re: passing multiple items to a subroutine
by Grygonos (Chaplain) on Mar 08, 2004 at 16:21 UTC
    I wouldn't ever take them out... it doesn't hurt to have them in. It doesn't make your program any slower or less efficient. It's not a newbie thing to do by any means... when you start using strict and getting it right, then you know you are on the right path.

    Grygonos