[Bioperl-l] Windows whines... any thoughts?

Tim Bunce Tim.Bunce@pobox.com
Wed, 9 Oct 2002 22:44:51 +0100


Windows Perl shouldn't behave differently in this way.
There's probably a deeper issue. The backslashes in the
path in the warning message are probably a clue.

Tim.

On Wed, Oct 09, 2002 at 08:26:48AM +0100, Ewan Birney wrote:
> 
> Inside Bioperl we make heavy use of function redefinition,
> in particular interface (where the function body throws
> an informative error) and implementation (where it does
> something).
> 
> 
> Windows Perl (I presume ActiveState, but not 100% sure
> from Paul --- paul, I hope you will delurk for this) has
> messages like:
> 
> 
> 
> Subroutine next_seq redefined at C:/Perl/site/lib/Bio\SeqIO\game.pm line
> 212.
> 
> 
> 
> Now- of course, nothing is wrong here, just that Windows perl is being
> a little frisky in reporting this. Is there anything we can say
> "pragma-ish" to windows Perl to stop this whining. A sort of (in
> Bio::Root::RootI)
> 
> BEGIN {
> 
>     if( $on_windows ) {
>         $Win32::Pragma::SubRoutineReDefine = 0; # shut up!
>     }
> 
> 
> };
> 
> 
> otherwise newbies on windows are going to think they have done something
> wrong...
> 
> 
> 
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l