in reply to Break up command line
or you can do it this was$firstele = shift; $secondele = shift; $thirdele = shift;
so if you run a command like thismy ($first, $second, $third) = @_;
$first = "this is a test" $second = "what" $third = "is"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) 2Re: Break up command line
by jeffa (Bishop) on Jun 02, 2001 at 02:39 UTC | |
by dl748 (Initiate) on Jun 02, 2001 at 03:28 UTC | |
by Anonymous Monk on Jun 02, 2001 at 03:37 UTC |