in reply to RE: Reformat Array
in thread Reformat Array

... or maybe cover all bases using wantarray
return wantarray ? @new : \@new;

--
http://www.dave.org.uk

European Perl Conference - Sept 22/24 2000
http://www.yapc.org/Europe/