Klaus Mock: "use" dynamisch verwenden?

Beitrag lesen

Hallo,

"convert_data" kann ich problemlos aufrufen, allerdings findet das Programm "&main::read_input" nicht...

perldoc -f use:

imports some semantics into the current package from the named module, generally by aliasing certain subroutine or variable names into your package. It is exactly equivalent to

BEGIN { require Module; import Module LIST; }

except that Module must be a bareword.....

Also der Rest sollte klar sein, oder?

Grüße
  Klaus