Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Accessors in xs

by hardburn (Abbot)
on Oct 24, 2005 at 17:11 UTC ( [id://502523]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub world_location
    {
            my ($self) = @_;
            return ($self->{x}, $self->{y});
    }
    
  2. or download this
    #include "EXTERN.h"
    #include "perl.h"
    ...
    AV*
    world_location(self)
            SV* self
    
  3. or download this
    NOK 1#     Failed test (t/025_unit.t at line 128)       
    #          got: 140725396
    ...
    t/025_unit...........NOK 2#     Failed test (t/025_unit.t at line 129)
    +       
    #          got: undef
    #     expected: 84
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://502523]
Approved by Limbic~Region
Front-paged by Limbic~Region
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-18 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found