Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

aliasing arrays using typeglob under strict

by RockyMtn (Novice)
on Feb 08, 2013 at 01:31 UTC ( [id://1017744]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    fit_data(\@array);
    sub fit_data {
    ...
        print "array contains: ",join(",",@ydata)," \n";
        print "last index is $#ydata \n";
    }
    
  2. or download this
    use strict;
    my @valueArr = (1,2,3,4);
    ...
        *ydata=$refCopy;
        print "array contains: ",join(",",@main::ydata)," \n";
        print "last index is $#main::ydata \n";}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1017744]
Approved by Athanasius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-20 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found