Some of MyMod* modules ... does not use Exporter.
So what do they use?
Is it possible that some of the modules do not export at all, i.e., the fully-qualified name of a subroutine or package-global variable defined in the module must be used to invoke the subroutine/variable? E.g.:
File Foo.pm:
Invocation:# Foo.pm package Foo; use strict; use warnings; sub bar { printf "hiya from -%s-(@_) invoked from '%s' \n", (caller 0)[3, 0] +; } 1;
This situation can be addressed, but we need these details.Win8 Strawberry 5.8.9.5 (32) Fri 09/02/2022 18:25:19 C:\@Work\Perl\monks\nataraj >perl -wMstrict -le "use Foo; Foo::bar(qw(some stuff)); print 'ok'" hiya from -Foo::bar-(some stuff) invoked from 'main' ok
Give a man a fish: <%-{-{-{-<
In reply to Re^3: One module to use them all (proxy moudle that exports subs of other modules)
by AnomalousMonk
in thread One module to use them all (proxy moudle that exports subs of other modules)
by nataraj
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |