>h2xs generates a .pm file with 'our @EXPORT_OK;' and, later, >"our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );". This patch removes >the initial declaration. >(I'm assuming the array doesn't need to be predeclared before the >'require Exporter;' - if it does, the 'our' should be removed from >the second use instead.) Seems like a prudent application of -w would catch whatever's going on here. % perl -we 'our $x = 10; our $x = 20' "our" variable $x masks earlier declaration in same scope at -e line 1. % perl -we 'our $x = 10; {our $x = 20}' "our" variable $x redeclared at -e line 1. (Did you mean "local" instead of "our"?) --tomThread Previous | Thread Next