Thread $_ teilen in <WERT> und </WERT>
(8 answers)
Opened by dieSCHWEIN at 2008-12-26 14:12 dieSCHWEIN+2008-12-26 18:16:10-- Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 while (<DATA>) { print if m{<tag>} .. m{</tag>}; } __DATA__ a b <tag> 1 2 3 </tag> happy new year ... <tag> 4 5 6 </tag> END |