![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Best way to print variables in regexby Mordan (Initiate) |
on Jan 20, 2014 at 22:54 UTC ( #1071391=perlquestion: print w/replies, xml ) | Need Help?? |
Mordan has asked for the wisdom of the Perl Monks concerning the following question: Hi monks, I am trying to get some expressions in the regex to print. I asked a related question to this and made a bit of a hash so starting afresh. I am using tagger and want to be able to display the tags found in the regex.
I can display the text I input all tagged (code below), but what I want to do is display the count of tags. So like:
This code will output tagged text, but I can't seem to get it to tabulate the tags. My efforts, such as print $tag, print $GER and so on won't work. Also I heard that tagger has problems accepting input from files rather than text in the coding, anyone else heard that?
Back to
Seekers of Perl Wisdom
|
|