Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Variable "%data" is not available

by Hue-Bond (Priest)
on Mar 21, 2011 at 20:30 UTC ( [id://894611]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Foo;
    
    use warnings;
    ...
    }
    
    1;
    
  2. or download this
    $ perl -I. -MData::Dumper -MFoo -e'print Dumper (Foo->data)'
    Variable "%data" is not available at (eval 1) line 1.
    $VAR1 = {};
    
  3. or download this
    $ perl -I. -MData::Dumper -MFoo -e'print Dumper (Foo->data)'
    Useless use of private hash in void context at Foo.pm line 16.
    $VAR1 = {
              'foo' => 'bar'
            };
    
  4. or download this
    package main;
    use warnings;
    use strict;
    use Data::Dumper;
    print Dumper (Foo->data);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found