Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 scrutinizing the Monastery: (11)
As of 2014-09-30 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (383 votes), past polls