Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: making 'use strict' default conflicts with CORE modules/scripts

by ysth (Canon)
on Dec 12, 2014 at 20:06 UTC ( #1110207=note: print w/replies, xml ) Need Help??


in reply to making 'use strict' default conflicts with CORE modules/scripts

No, it is not a shell variable. In fact, a shell will do the eval without even having seen the if. It's just intended to be self-documentation but work the same as "if 0". (So the code is completely unneeded, since the eval...if 0 will have already done the perlification work if necessary.)

--
A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |
  • Comment on Re: making 'use strict' default conflicts with CORE modules/scripts

Replies are listed 'Best First'.
Re^2: making 'use strict' default conflicts with CORE modules/scripts
by LanX (Bishop) on Dec 12, 2014 at 20:24 UTC
    looks for me like a workaround for shells which do handle if 0 . (though unless 1 would be fine too)

    Anyway like atcroft pointed out there seem to be diffrerent versions of pod2man circulating ...

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1110207]
help
Chatterbox?
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2018-07-21 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (444 votes). Check out past polls.

    Notices?