[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Converting RA and DEC to cartesians in Perl



At 22:43 -0700 1999.08.07, Brian McNett wrote:
>I may pull Math::Trig.  All I use from it is deg2rad, which is pretty
>easy to set up by hand. Not calling the module may speed startup of the
>script a bit, and Math::Trig overides the built-in sin() and cos()
>functions (That's a feature according to the authors).

Impact on startup time is negligible either way, I imagine.  If you don't
want the other functions imported, then do this:

  use Math::Trig qw(deg2rad);

Then only deg2rad is imported.

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org