SZ
Таки да, ну видимо они просто не хотели ошибок из-за неунаследованного импорта :)
Size: a a a
SZ
SZ
P
use YourModule;
This imports all the symbols from YourModule's @EXPORT into the namespace of the use statement.
use YourModule ();
This causes perl to load your module but does not import any symbols.
MA
VK
SZ
use YourModule;
This imports all the symbols from YourModule's @EXPORT into the namespace of the use statement.
use YourModule ();
This causes perl to load your module but does not import any symbols.
use XXX /./;
знал?P
use XXX /./;
знал?AK
MA
AK
VG
use XXX /./;
знал?SZ
AP
perldoc Exporter
описано про !
, :
и регекспы.SZ
perldoc Exporter
описано про !
, :
и регекспы.AP
AP
% perl -E 'use Socket !/^PF_/; say scalar grep { /^PF_/ } keys %::'
34
AP
use Socket '!/^PF_/';
. Ну или use MyModule qw(/./);
c
# cpanm uni::perl
uni::perl is up to date. (0.92)
...Can't locate uni/dumper.pm in @INC (you may need to install the uni::dumper module) (@INC contains:
[...]
) at /usr/local/share/perl/5.30.0/uni/perl/dumper.pm line 11.
MA