Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Disabling the interpretation of diamond <> operator in package?

by choroba (Archbishop)
on Apr 10, 2018 at 08:34 UTC ( #1212631=note: print w/replies, xml ) Need Help??


in reply to Disabling the interpretation of diamond <> operator in package?

ikegami's trick mentioned in Using constants as hash keys works in this case, too:
(bla) < bla
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: Disabling the interpretation of diamond <> operator in package?
by LanX (Cardinal) on Apr 10, 2018 at 08:38 UTC
    Thanks! :)

    That's what I meant with "or embrace it in brackets" and it's my preferred workaround at the moment...

    But I'd prefer to disable <> locally...

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2020-12-04 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (60 votes). Check out past polls.

    Notices?