Richard Lee wrote:
actually qw/ 1 3 5 7 9/; i was wrongly adding commas there.. sorry abou thtis post.. disregard please.can't you do below??sub criteria { return qw/ 1,3,5,7,9 /; } I was going to do sub criteria { my @array = qw/1,3,5,7,9/; } but was wondering if I can do without if i was calling the sub like this my @array_result = criteria(); ??
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/