in reply to Re: Get string for a word in a file after some specific pattern compare
in thread Get string for a word in a file after some specific pattern compare

If $1 was set before the while loop and the while loop fails, $value will have garbage in it.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid) Re(2): Get string for a word in a file after some specific pattern compare