Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Disabling the interpretation of diamond <> operator in package?

by LanX (Saint)
on Apr 09, 2018 at 20:46 UTC ( [id://1212611]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<9> sub bla { bless [@_], "Test" }
    
    ...
      DB<12> bla < bla
    Unterminated <> operator at (eval 20) ...
    
  2. or download this
      DB<13> package Test; use overload ">" => sub { warn "works" };
    
    
      DB<14> bla > bla
    works at (eval 21)
    

Log In?
Username:
Password:

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

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

    No recent polls found