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

Re^4: Passing integer pointer in XS? (OUTPUT:)

by ikegami (Patriarch)
on Jul 18, 2016 at 21:38 UTC ( #1168010=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    say "$x-$y";
    testing($y);
    say "$x-$y";
    
  2. or download this
    x-x
    y-y   <-- Changed both $x and $y
    
  3. or download this
    for (1..2) {
       my $y = "x";
       say $y;
       testing($y);
    }
    
  4. or download this
    x
    y     <-- Changed the constant!
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2022-12-04 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?