in reply to Extract field after keyword
while (<DPSLOTFILE>) { my ($slot) = /$dpdrivloc:\s*(\d+)/; # Do something with $slot }
------
We are the carpenters and bricklayers of the Information Age.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Extract field after keyword
by Anonymous Monk on Mar 19, 2004 at 20:02 UTC | |
by dragonchild (Archbishop) on Mar 19, 2004 at 20:07 UTC | |
by Fletch (Bishop) on Mar 19, 2004 at 20:30 UTC | |
by jamen_98 (Initiate) on Mar 19, 2004 at 20:41 UTC |