Just another Perl shrine | |
PerlMonks |
Re^2: cmd o/p- each line should be stored as each element in an Array?by G Nagasri Varma (Novice) |
on Dec 03, 2015 at 10:26 UTC ( [id://1149284]=note: print w/replies, xml ) | Need Help?? |
chomp ( my @x = <> );
The above one worked, but array is getting all the entire list of values. But in the index zero, why isnt first value being stored. o/p: 1431037440 1431038327 $files[0]= $files1=1431037440
In Section
Seekers of Perl Wisdom
|
|