Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

OO style question: how much information to hide?

by Ovid (Cardinal)
on Jun 11, 2003 at 00:21 UTC ( #264916=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $token
        ->delete_attr('foo')
        ->set_attr( bar => 'baz' ) if $token->is_start_tag;
    
  2. or download this
    while(my $token = $parser->get_token) {
        $token->del_attr('font');
        print $token->as_is;
    }
    
  3. or download this
    while(my $token = $parser->get_token) {
        $token->del_attr('font') if $token->is_start_tag;
        print $token->as_is;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-11-24 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls