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

Re^5: Perl logical operators

by Your Mother (Archbishop)
on Jul 18, 2018 at 18:51 UTC ( [id://1218773]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Perl logical operators
in thread Perl logical operators

From my perspective I don't want it to be a plain default. I use Perl on the command line a great deal and having to type "my" and such "just because" would be a small burden but one that would add up quickly to be extremely irritating; irritating to the point of exploring other languages to see if they were less of a hassle. There may be some middle ground where -e turns off strict or any scope change turns it on or something(?).

What haukex said about use {version} and backwards compatibility is germane I think.

Replies are listed 'Best First'.
Re^6: Perl logical operators
by roboticus (Chancellor) on Jul 18, 2018 at 20:22 UTC

    Your Mother:

    Having -e automatically disable strict/warn certainly sounds reasonable.

    I also either forgot (or didn't notice) that "use 5.12.0" would enable strict. On the bright side, that'll give me a couple things to look at to see how to implement such a feature. But since I've n ot put enough time into thinking about the various ramifications, I'll have to chew on it a bit longer. I'll also have to review the various perldeltas and see what other things I've missed. ;^)

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

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

    No recent polls found