Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2016-10-28 21:09 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.