Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Math::SnapTo

by jryan (Vicar)
on Dec 26, 2002 at 01:09 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-06-16 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.