Returning variables from sub routines.

2004-07-23 Thread jason corbett
I have a sub routine that I created called dateme. when i run the sub routine, I am getting errors that Global symbol $process_date requires explicit package name at What gives? Thanks, JC Here is the snipet #---called from dateme( ); #--- sub dateme{ my

Re: Returning variables from sub routines.

2004-07-23 Thread Flemming Greve Skovengaard
jason corbett wrote: I have a sub routine that I created called dateme. when i run the sub routine, I am getting errors that Global symbol $process_date requires explicit package name at What gives? Thanks, JC Here is the snipet #---called from dateme( );

Re: Returning variables from sub routines.

2004-07-23 Thread jason corbett
Your correct. Actually I was trying to pass that variable back when it was local to the sub routine instead of assigning it to a variable outside the routine i.e $process_data2=dateme( ); where process_data2 is either global or assigned as my OUTSIDE that particular routine. Thanks, JC