in reply to Re^3: Regex Search String in a Variable
in thread Regex Search String in a Variable

Well it's like reading a doc (sic), just w/o needing a filehandle. Alas we need to chomp it to get rid of a newline.

Putting it in the __DATA__ section would do as well, but this is reading from an filehandle, but w/o need to open it first.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery