in reply to Extracting text from a line
my ($uid) = $string =~ /^UID: (\w+)/; print $fh $uid if $uid;
(where $fh is a file handle opened for writing to the other file)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extracting text from a line
by targetsmart (Curate) on Jul 12, 2010 at 05:47 UTC | |
by almut (Canon) on Jul 12, 2010 at 07:28 UTC | |
by pemungkah (Priest) on Jul 13, 2010 at 00:37 UTC |