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

Re^4: on the fly reference to subroutine output

by tmharish (Friar)
on Mar 05, 2013 at 07:54 UTC ( #1021770=note: print w/replies, xml ) Need Help??

in reply to Re^3: on the fly reference to subroutine output
in thread on the fly reference to subroutine output

There are two arrays ( one inside the other ). The outer array is the anonymous array as shown below:

sub2( [ sub1() ] ); ^ ^ | | | --------- Inner array ------------ Outer array
sub 2 now gets the ref of the outer anonymous array which is flattened.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021770]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-02-27 20:53 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (393 votes). Check out past polls.