Thank you very much for your help. I would also like to print the value of ESME in the example below it would be ehttp_rkoe
ESME: ehttp_rknoe
$/ = 'Time: '; while (<DATA>) { print( (split "\n")[0] ) if /ESME_RTHROTTLED/; }
how does split work in the context of your program ?
Thanks tomIn reply to Re^2: Parsing text string in Perl
by gbwien
in thread Parsing text string in Perl
by gbwien
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |