Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

How to break Class::MakeMethods by using the wrong variable name

by beable (Friar)
on Aug 10, 2004 at 04:59 UTC ( [id://381463]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    __END__
    Output:
    Can't use string ("5") as a HASH ref while "strict refs" in use at /us
    +r/local/share/perl/5.8.2/Class/MakeMethods/Standard/Hash.pm line 179.
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    sleep($bc->rest);
    
    __END__
    

Log In?
Username:
Password:

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

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

    No recent polls found