Re: not using \n as delimiter with while loop

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 07:44 , William West wrote: > goodmorning (or evening, or what have you) I'll have mine neat, in a clean class, thank you. I believe you want $/ cf perldoc perlvar " $INPUT_RECORD_SEPARATOR $RS $/ The input record separator, newline b

not using \n as delimiter with while loop

2002-05-24 Thread William West
goodmorning (or evening, or what have you) ok. here's my snippet of code: sub get_list{ my($inputfilehandal)=@_; open (IN,"$inputfilehandal"); while(){ #if i could seperate each instance of IN with #something other than /n push(@firstarray,$_);} close (IN); }