It's totally depends on your requirment. If you simply want to push into array and list then here is snippet..
my @dir= `ls`; print "\n @dir"; output: #test# allcases bin codebase core execute_dir nonqa precutoff reversal stamp1 stamp2 start_epicDB.pl test.pl test.sh
In reply to Re^2: Put "ls" in array
by bimleshsharma
in thread Put "ls" in array
by PatricF
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |