Reading a list of numbers into an array

2009-07-22 Thread Emanuele Osimo
Hello there, I'd like to read a file thet is a list of numbers like: 3084 4855 2904 making each line (each number) one of the elements of the array. I've tried foreach my $line (FILEHANDLE){ push (@array, $line) } but then printing the array just gives me the last number, in this case 2904. What's

Re: Reading a list of numbers into an array

2009-07-22 Thread Emanuele Osimo
Thanks a lot!! This is exactly what I needed! Emanuele On Wed, Jul 22, 2009 at 15:04, Wagner, David --- Senior Programmer Analyst --- CFS david.wag...@fedex.com wrote: -Original Message- From: Emanuele Osimo [mailto:e.os...@gmail.com] Sent: Wednesday, July 22, 2009 15:47

Hello there

2009-07-06 Thread Emanuele Osimo
Hello there, I'm a biologist and I'm trying to start using bioperl for bioinformatic purposese but I've never programmed. Could you suggest me something to read to start from 0 level? In the meantime, I installed bioperl and I'm doing some little trials to get to know something: I would like to