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

Re: Strict to references of a particular Variable of particular type.

by Roger (Parson)
on Dec 02, 2005 at 07:59 UTC ( #513582=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    array_ref(\@array);
    array_ref(\%hash);
    
  2. or download this
    $VAR1 = [
              '1',
    ...
            ];
    Not an array reference at try.pl line 9
            main::array_ref('HASH(0x81d4e14)') called at try.pl line 18
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2020-08-12 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (64 votes). Check out past polls.

    Notices?