Welcome to the Monastery | |
PerlMonks |
Gimmie the Stuff Between Two Keywordsby mumbles (Friar) |
on Oct 15, 2001 at 09:21 UTC ( [id://118814]=perlquestion: print w/replies, xml ) | Need Help?? |
mumbles has asked for the wisdom of the Perl Monks concerning the following question:
I have been at this snippet for awhile and now I think I am more confused than before I began. Given a Win32 system variable pull out all the junk between "XYZ:" and "@mail.cp" and stuff it into another Win32 sytem variable. How do I extract all text between two keywords like start and end? gives a good read on the problem but I just can't get it to do what I want. Here is the most legible piece I could come up with: This prints nothing. Suggestions? Thanks in advance
Back to
Seekers of Perl Wisdom
|
|