Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Passing parameters to object method references

by graq (Curate)
on Jun 21, 2007 at 10:29 UTC ( [id://622528]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict; use warnings; use Data::Dumper;
    ...
      print Dumper($sub);
      &$sub($help);
    }
    
  2. or download this
    package Foo;
    use strict; use warnings;
    ...
    }
    
    1;
    
  3. or download this
    POS: A
    $VAR1 = sub { "DUMMY" };
    Message is:
    POS: B
    $VAR1 = sub { "DUMMY" };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-19 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found