freddo411 has asked for the wisdom of the Perl Monks concerning the following question:
which is called by my program, foo.plpackage Bar; use strict; use Exporter; use vars qw(@ISA @Export $VERSION); @ISA = qw(Exporter); @Export = qw(&ff_error ); $VERSION = 1.00; ########################################### sub ff_error { my ($error,@error_fields) = @_; print "\n\n ERROR: $error @error_fields\n\n"; exit; } 1;
Which when executed gives me:#!/usr/local/bin/perl -w use strict; use Bar; &ff_error("die here");
Please note that perl -V let's me know that @INC includes "." and my version is 5.00503../foo.pl Undefined subroutine &main::ff_error called at ./foo.pl line 6.
Please save me from going crazy looking at this...!#$^@#^
-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple issue with my Module
by converter (Priest) on Jun 18, 2003 at 22:30 UTC | |
|
Re: Simple issue with my Module
by The Mad Hatter (Priest) on Jun 18, 2003 at 22:30 UTC | |
|
Re: Simple issue with my Module
by Nkuvu (Priest) on Jun 18, 2003 at 22:34 UTC | |
|
Re: Simple issue with my Module
by freddo411 (Chaplain) on Jun 18, 2003 at 22:48 UTC |