in reply to Re: split and assign
in thread split and assign
Update: Although it must be admitted that this approach would get a bit tedious if one were interested not in the second field but in the twenty-second!>perl -wMstrict -le "my $line = 'foo=bar=baz'; my (undef, $schema_username) = split /=/, $line; print $schema_username; " bar
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: split and assign
by JadeNB (Chaplain) on Aug 03, 2009 at 07:22 UTC |