Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Variable "%data" is not available

by Hue-Bond (Priest)
on Mar 21, 2011 at 20:30 UTC ( #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
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? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2020-07-10 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?