Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: How to de-reference a coderef? (B tricks)

by Anonymous Monk
on Aug 25, 2011 at 01:14 UTC ( #922241=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to de-reference a coderef? (B tricks)
in thread How to de-reference a coderef?

You call coderef2name from XS, that is how you do it
  • Comment on Re^3: How to de-reference a coderef? (B tricks)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922241]
help
Chatterbox?
[1nickt]: kgb not quite as simple as ... and ...; are interchangeable. There are edge cases, shown in perlsyn.
[1nickt]: Hm well actually I guess it's not the trailing semi-colon that's at issue there, it's disambiguation between the ellipsis and the binary flip-flop
[1nickt]: Although the example given does not produce an error as stated, on my perl.
[1nickt]: perl -wE 'say for map { ... } 1..3;' # "Unimplemented at -e line 1" ... <c>perlsyn says that should throw a syntax error...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-11-18 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?