Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Assign a reference to a non reference

by fglock (Vicar)
on Oct 03, 2002 at 11:36 UTC ( [id://202480]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo {
            return ({},[]);
    }
    my ($baz, $bar);
    ($baz,$bar) = &foo();
    print ref $baz," ",ref $bar,"\n";
    
  2. or download this
    %hash = %$baz;
    @array = @$bar;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-24 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found