Tried:and there was no output.... Part of me was thingking it might be an issue with an ASCII file. I tried opening the file using:while (<DPSLOTFILE>) { my ($slot) = /$dpdrivloc:\s*(\d+)/; print "$slot"; }and no difference...binmode (STDOUT);
In reply to Re: Re: Extract field after keyword by Anonymous Monk
in thread Extract field after keyword by jamen_98
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |