in reply to Warning: Freeing unreferenced scalar
It's interesting that all three of your modules cause warnings yet strict, bigint and File::Basename don't. I would try to find what it is about your modules that is causing the warning. Maybe a simple test program with a minimal module:
package Test::Package; 1;
Then load this from:
#!/usr/bin/perl use v5.8.2; # Use the version which is on the AIX machines use strict; use bigint; use File::Basename; use lib File::Basename::dirname($0); use Test::Package; use FunctionsAPI;
With something like a binary search, adding and removing bits of FunctionsAPI.pm to/from Test/Package.pm, it shouldn't take long to find what is causing the warnings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Warning: Freeing unreferenced scalar
by mck (Initiate) on Aug 26, 2009 at 08:44 UTC |