Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Overloading Weirdness

by haukex (Archbishop)
on Jun 30, 2018 at 19:07 UTC ( [id://1217662]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    foo bar
    unintended stringification at test.pl line 34.
    Can't locate object method "str" via package "foo bar" (perhaps you fo
    +rgot to load "foo bar"?) at test.pl line 35.
    
  2. or download this
    $ perl -MO=Concise,-src test.pl | perl -ne \
        '/^#\s+\d+\s*:/&&($a=$_);/(?<!ex-)stringify/&&print$a,$_'
    test.pl syntax OK
    # 34: my $zz; $zz = "$x $y";  # warns
    1a    <@> stringify[$zz:257,258] sK/TARGMY,1 ->1b
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-19 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found