Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Overloading Weirdness

by ikegami (Patriarch)
on Jun 23, 2018 at 22:02 UTC ( [id://1217306]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
       my $bad; $bad = "a $str a";
       say "bad: "._dump($bad);
    }
    
  2. or download this
    good: bless( [bless( ['a ',bless( ['foo'], 'str' )], 'str' ),' a'], 's
    +tr' )
    bad: 'a foo a'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-19 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found