John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
gives a result of Regexp, which is not terribly surprising, but then I wonder why isn't it all caps, "REGEXP", like the other built-in types?perl -e "print qr/a/"
Is the precompiled RE implemented using a class, something that the qr// operator knows about? Does this mean that Regexp (not all-capped) is reserved as a package name? Are there any interesting members in there now...?
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Internal representation of qr// compiled regular expressions
by japhy (Canon) on Jun 27, 2001 at 22:07 UTC | |
|
(tye)Re: Internal representation of qr// compiled regular expressions
by tye (Sage) on Jun 27, 2001 at 22:35 UTC | |
by John M. Dlugosz (Monsignor) on Jun 28, 2001 at 01:01 UTC | |
by japhy (Canon) on May 23, 2006 at 00:18 UTC | |
by John M. Dlugosz (Monsignor) on May 24, 2006 at 03:24 UTC | |
by japhy (Canon) on May 24, 2006 at 11:46 UTC | |
|