Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Accessors in xs

by fireartist (Chaplain)
on Oct 25, 2005 at 09:37 UTC ( [id://502651]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        $x = $c->x; $y = $c->y;
      },
    });
    
  2. or download this
                    Rate PerlMethods    cMethods
    PerlMethods 111297/s          --        -17%
    ...
                    Rate PerlMethods    cMethods
    PerlMethods 108460/s          --        -22%
    cMethods    139179/s         28%          --
    
  3. or download this
    use strict;
    use warnings;
    ...
        }
      },
    });
    
  4. or download this
                  Rate PerlMethods    cMethods
    PerlMethods 2933/s          --        -44%
    ...
                  Rate PerlMethods    cMethods
    PerlMethods 2949/s          --        -44%
    cMethods    5246/s         78%          --
    
  5. or download this
    package PerlMethods;
    use strict;
    ...
    }
    
    1;
    
  6. or download this
    package CMethods;
    use strict;
    ...
    
    
    1;
    
  7. or download this
    #include "EXTERN.h"
    #include "perl.h"
    ...
          EXTEND(SP, 1);
          PUSHs(y ? *y : &PL_sv_undef);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found