open(LS, 'ls|') or die "Cannot open 'ls' for reading\n"; while (<LS>) { chomp; #Added after some thought. print "$_\n"; } close LS;
| You can't do this to me! I went to college! |
In reply to Re: Re: split to get the dir name
by Plankton
in thread split to get the dir name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |