Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Returning multiple values from a subroutine

by rkrish (Acolyte)
on Dec 28, 2012 at 12:33 UTC ( #1010700=note: print w/replies, xml ) Need Help??


in reply to Re: Returning multiple values from a subroutine
in thread Returning multiple values from a subroutine

Thanks for the quick reply :) it worked

  • Comment on Re^2: Returning multiple values from a subroutine

Replies are listed 'Best First'.
Re^3: Returning multiple values from a subroutine
by muba (Priest) on Dec 29, 2012 at 02:19 UTC

    I'm glad it does. However, what I find more interesting is whether you understand why it works. References can be a tough subject to grasp. But you do, it's an immensely powerful tool that you should be glad to have in your toolbox. So are you just taking ree's solution as-is, happy it solves your problem, or do you see what he did and how that works?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010700]
help
Chatterbox?
[GrandFather]: Oh, and the manufacturer tells lies too! I'm sure they don't mean to, but I know for sure some of the stuff they say is just wrong. It's possible they don't understand what we are asking, but that's not a good look either
[Corion]: GrandFather: Ah, unit testing hardware is fun, especially when the hardware is uncalibrated ...
[GrandFather]: Us: "What scaling do we need to apply to the numbers from the SDK for the wibble?". Them: "Oh, the numbers from the SDK for the wibble are already correct, they don't need scaling"
[GrandFather]: In our code: wibble range 1 scale by 1, range 2 scale by 2, range 3 scale by 4, range 4 scale by 8

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-08-24 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (365 votes). Check out past polls.

    Notices?