Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Passing variables into a subroutine

by choroba (Canon)
on Sep 03, 2012 at 17:19 UTC ( #991489=note: print w/ replies, xml ) Need Help??

in reply to Passing variables into a subroutine

The problem is in the assignment. You can never make this work:

my (@array, ...) = ...
because the array takes all the values.

Update: Other problems may emerge after solving this one because of the usage of prototypes.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Comment on Re: Passing variables into a subroutine
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-07-30 05:36 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (270 votes), past polls