in reply to String Match Use of $1 Uninitialized
my $line = "PID: AIR-LAP1142N-A-K9 , VID: V01, SN: FTX1332SC15"; $line =~ m/(AIR)-LAP1142N-A-K9/; print $1 . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: String Match Use of $1 Uninitialized
by spickles (Scribe) on Dec 16, 2009 at 19:58 UTC | |
by ikegami (Patriarch) on Dec 16, 2009 at 21:47 UTC |