Leser: 5
|< 1 2 >| | 17 Einträge, 2 Seiten |
use Spread::Queue or die "Modul ist nicht installiert\n";
Quotesyntax error at D:\temp\mod_check.pl line 35, near "use Spread::Queue or"
Execution of D:\temp\mod_check.pl aborted due to compilation errors.
1
2
3
4
5
6
7
my $bool;
BEGIN{
eval "use NonExistantPackage;";
$bool = 1 unless $@;
}
print "Modul nicht installiert" unless $bool;
Quoteo If you use CAP::AutoRunmode, you need to let the mechanic know so
that it can also 'use' it, otherwise things Just Don't Work. The
way things are right now it's probably a dependency. I'll at
least need to eval the use statement, but I might be able to do
something better. Require/import on demand doesn't work, I think
because AutoRunmode does its magic at compile time.
|< 1 2 >| | 17 Einträge, 2 Seiten |