![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Counting Array in an Array of HoAby omega_monk (Scribe) |
on May 09, 2005 at 16:03 UTC ( [id://455213]=note: print w/replies, xml ) | Need Help?? |
No, I believe the "=~" is used in regex there, from my minimal understanding $test is the string that contains the regex. I am still trying to understand the how on the rest of the script, though.
Update: After some testing, I used a much simpler version to get to this.
So $test does contain the regex '.*?AB' or '.*?BA'. If I am not correct here, please let me know. Update: Adjusted code to differentiate the output.
In Section
Seekers of Perl Wisdom
|
|