Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Math::SnapTo

by jryan (Vicar)
on Dec 26, 2002 at 01:09 UTC ( #222256=note: print w/replies, xml ) Need Help??


in reply to Math::SnapTo

package Math::SnapTo; #use strict; # used in testing but not forced on you #use warnings;

Do you realize that strict is a lexical pragma, and therefore only affects the package Math::SnapTo? :-)

Replies are listed 'Best First'.
Re: Re: Math::SnapTo
by tachyon (Chancellor) on Dec 26, 2002 at 01:28 UTC

    Suprisingly I do. Strict has an overhead (needs to be loaded as does warnings). For testing I use them but they offer little benefit in a module which should be fully tested and strict and warnings compliant (which this is), If you want strict and warnings operational put it in your code and they will then be operational on the imported functions. The forced on you comment refers to the overhead not the scope.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2023-06-08 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (31 votes). Check out past polls.

    Notices?