in reply to Re^4: Composing regex's dynamically
in thread Composing regex's dynamically
See perlop on qr:
It (the result of qr) magically differs from a string containing the same characters: ref(qr/x/) returns "Regexp", even though dereferencing the result returns undef.
Basically, the difference between strings and regular expression objects is very, very thin from a user point of view.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Composing regex's dynamically
by John M. Dlugosz (Monsignor) on Apr 28, 2011 at 08:15 UTC | |
by Corion (Patriarch) on Apr 28, 2011 at 08:17 UTC | |
by John M. Dlugosz (Monsignor) on Apr 28, 2011 at 08:29 UTC |