Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Dereferencing in blessed object

by Bod (Parson)
on Feb 25, 2021 at 22:58 UTC ( [id://11128808]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    C:\Users\ian\Perl>perl dereference.pl
    testing
    A
    
  2. or download this
    my $vars = { 'testpage' => $data{'testpage'} };
    $html->process('index', $vars);
    
  3. or download this
    sub process {
        my ($self, $disp, %v) = @_;
        my $testpage = $$v{'testpage'};
        print "<h1>".$testpage."</h1>\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found