Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Yet Another XS Tutorial

by ikegami (Patriarch)
on Nov 20, 2013 at 15:22 UTC ( [id://1063543]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    PPCODE:
        int i;
        f();
    
  2. or download this
    PREINIT:
        int i;
    PPCODE:
        f();
    
  3. or download this
    PPCODE:
        {
            int i;
            f();
        }
    
  4. or download this
    say lengths1(substr("abc", 0, 1));  # 0
    
  5. or download this
    say lengths1("abc");  # 16
    
  6. or download this
    $_="\x{A0}";               say lengths1($_), "=", length($_);  # 1=1
    $_="\x{A0}\x{2660}"; chop; say lengths1($_), "=", length($_);  # 2=1
    
  7. or download this
    say lengths1(456), "=", length(456);  # 0=3
    

Log In?
Username:
Password:

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

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

    No recent polls found