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

Overloading Weirdness

by pudge (Sexton)
on Jun 23, 2018 at 05:40 UTC ( #1217269=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $str = str::new('<encode this later>');
    my $html = "<html>$str</html>";
    print $html; # <html><encode this later></html>
    print $html->encode; # <html>&lt;encode this later&gt;</html>
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    }
    
    1;
    
  3. or download this
    $VAR1 = {
              'BAD' => [
    ...
                                     ], 'str' )
                            ]
            };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-05-19 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?