in reply to Re: Re: Using UNIX commands inside Perl scripts, with Perl variables
in thread Using UNIX commands inside Perl scripts, with Perl variables
For a better way of getting directory contents, see perlfunc:opendir and perlfunc:readdir.# Note -- bad way to do this open(IN, "ls -l |"); my @IN = <IN>; close(IN);
Which is a bit off-topic...
stephen
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using UNIX commands inside Perl scripts, with Perl variables
by Anonymous Monk on Jun 08, 2001 at 02:38 UTC |