Thanks, I needed that. I cut and pasted your line and it worked. I went back to my test code and found the typo. *blush* <chaim> >>>>> "JC" == John Carter <john@dwaf-hri.pwv.gov.za> writes: >> But I can't get it to work. @ids ends up empty. JC> That's strange, running the following on perl, version 5.004_04 built JC> for i386-linux works fine... JC> perl -we 'while(<STDIN>) { push(@ids, eval);}print join(":",@ids),"\n";' JC> a,b,c,d -- Chaim Frenkel Nonlinear Knowledge, Inc. chaimf@pobox.com +1-718-236-0183 ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org