Sometimes life is Ironic. I had meant to send this to the list, sent it, and then remembered that I wanted to add something.
As a general rule of good form, one should leave all upper case package names to "sections" and all lower case package names to 'pragma' - as such one may want to think about solving the form here with say
package Virgilio::Gai;
So that one has both upper and lower case letters in the name space. I opted to hang it in the Virgilio section because that is the 'name' you were emailing from.
On Jan 18, 2004, at 9:32 AM, Luca Ognibene wrote:
package gai; require Exporter; require DynaLoader; @ISA = qw(Exporter DynaLoader); package gai; bootstrap gai; package gai; @EXPORT = qw( ); 1;
looks like you have one package line too many in there.
I would of course start with h2xs... Amongst other things it will help with your initial frame work and provide the first test script.
get all of the declaration stuff out of your way and THEN call bootstrap. eg
package Virgilio::Gai; use 5.006; use strict; use warnings;
require Exporter; require DynaLoader; our @ISA = qw(Exporter DynaLoader); our @EXPORT = qw( ); our %EXPORT_TAGS = ( 'all' => [ qw() ] ); our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our $VERSION = '1.03';
bootstrap Virgilio::Gai $VERSION;
1;
So how exactly ARE you exporting the names of functions in this module to the user???
yes, i'm using perl-5.8.1 and he is using 5.8.0Is there a difference between the version of perl you are using on your PC and the 5.8 version on the linux box???
Strange.
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>