in reply to split and assign
Is there a shortcut to this?$line = "aa;bb;cc;dd;ee"; my @stuff = split(/;/, $line); my $a = $stuff[0]; my $b = $stuff[1]; my $d = $stuff[3];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: split and assign
by hazylife (Monk) on Mar 04, 2014 at 18:54 UTC | |
by Anonymous Monk on Mar 04, 2014 at 19:06 UTC |