Thread Modul require aber wie? (16 answers)
Opened by bianca at 2009-10-10 16:41

Gast wer
 2009-10-10 16:51
#126851 #126851
Ich mache es bisher so:
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
BEGIN {
  eval "use ModulX";
}

if (ModulX->can('Methode'))
{
  print "CAN:\n"
  #...
  ModulX::Methode();
  #...
}
else
{
  print "CANT\n";
}

View full thread Modul require aber wie?