Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: aliasing arrays using typeglob under strict

by BrowserUk (Pope)
on Feb 08, 2013 at 01:40 UTC ( #1017745=note: print w/replies, xml ) Need Help??


in reply to aliasing arrays using typeglob under strict

Like this?

sub fit_data { our @ydata; local *ydata = shift; print "array contains: ",join(",",@ydata)," \n"; print "last index is $#ydata \n"; };; fit_data( [ 1..10 ] );; array contains: 1,2,3,4,5,6,7,8,9,10 last index is 9

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-12-08 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (134 votes). Check out past polls.