How can this be acheived?It can be achieved thus:
or, more traditionally:perl -ne 'chomp; push @x,$_' Your_file_name
What have you tried ?chomp ( my @x = <> );
Our business is run on trust. We trust you will pay in advance.
In reply to Re: cmd o/p- each line should be stored as each element in an Array?
by NetWallah
in thread cmd o/p- each line should be stored as each element in an Array?
by G Nagasri Varma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |