[Melbourne-pm] $a $b $c

Tim Connors tconnors+pmmelb at astro.swin.edu.au
Fri Aug 13 22:22:51 CDT 2004


On Sat, 14 Aug 2004, Sisyphus wrote:

> Tim Connors wrote:
> > On Fri, 13 Aug 2004, Joshua Goodall wrote:
> > log10, if I have my own "sub log10" in mycommon.pm, in @EXPORT, then perl
> > complains about log10 being redefined.
> >
>
> Hmmm .... there's no such problem with a module that defines and exports
> a 'log10' subroutine on *my* perl.
>
> Are you sure you haven't defined the sub twice in 'mycommon.pm' ?

Quadruple checked.

And furthermore, it seems to only fail on my 5.8.0 perl installation at
work, but not my perl 5.8.4 here. Damn.

Looks like I am going to have to do an ugly workaround until I can get the
sysadmins to upgrade perl (not likely, since we use a stupid distribution
that doesn't have the concept of upgrades without reinstalling everything)

How do you temporarily turns warnings off around a block of code?

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
You must realize that the computer has it in for you.  The irrefutable
proof of this is that the computer always does what you tell it to do.


More information about the Melbourne-pm mailing list