Dan, you da man!  That was indeed the problem.
--
Paul Simons ([EMAIL PROTECTED])
Bellevue, WA

ALSTOM's T&D Energy Automation & Information Business

CONFIDENTIALITY:  This e-mail and any attachments are confidential and may
be privileged.
If  you are not a named recipient, please notify the sender immediately and
do not disclose the
contents to another person,  use it for any purpose or store or copy the
information in any medium.



                                                                                       
                                       
                      Dan Sugalski                                                     
                                       
                      <[EMAIL PROTECTED]>          To:       [EMAIL PROTECTED], 
[EMAIL PROTECTED]                               
                                               cc:                                     
                                       
                      11/21/2002 09:41         Subject:  RE: Creating extensions on 
VMS                                       
                                                                                       
                                       
                                                                                       
                                       




At 9:21 AM -0800 11/21/02, [EMAIL PROTECTED] wrote:
>kite_rsa$ perl hello.pl
>Undefined subroutine &Mytest::hello called at hello.pl line 4.
>%RMS-F-DIR, error in directory name

Case problems. If you look, you'll find that the package declaration
in the module you built was "mytest" not "Mytest". VMS upcases
everything on the command line, and the Dec C RTL then downcases
everything (well, unless you set logicals for each of them) so the
parameter passed into h2xs had a different name than you thought it
should've.

The use Mytest worked because perl went to load in Mytest.pm but,
since the filesystem's case-insensitive, loaded in mytest.pm instead.
Perl, being case sensitive, believed the "package myfile" that I'm
sure was in mytest.pm.

Anyway, the moral of the story is "always quote your package names on
the command line".
--
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk





Reply via email to