Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Will the real Internals module please stand up?

by demerphq (Chancellor)
on Nov 16, 2012 at 11:10 UTC ( [id://1004172]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Will the real Internals module please stand up?
in thread Will the real Internals module please stand up?

What do you mean about "bindings are absent"?

Most of this stuff, in particular availability, is not documented directly for a reason. So for instance Tie::Hash::NamedCapture is used to implement named captures. It is loaded automagically by the internals when you do a $+{foo} style lookup. It uses a bunch of the re:: functions, which are exposed via universal because they are then compiled into the core executable and thus do not require an additional library to be loaded. Now I could have implemented the entire thing without using any perl level modules or exposing any subs, but that would have limited the options available to the programmer which I felt was not the Perl way.

---
$world=~s/war/peace/g

Replies are listed 'Best First'.
Re^4: Will the real Internals module please stand up?
by ikegami (Patriarch) on Mar 02, 2013 at 22:31 UTC

    I just saw this now for the first time.

    What do you mean about "bindings are absent"?

    Don't know.

    re::regexp_pattern is defined in 5.10.0's universal.c and it's bound to the Perl namespace.

    re::regmust isn't defined in 5.10.0's universal.c, so why was it mentioned?

    Maybe I was looking at the wrong file version?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1004172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-03-28 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found