Re: gtk2-perl compile-widgets.pl



goran kirra net wrote:

On Tue, Oct 22, 2002 at 11:21:03PM +0100, Dermot Musgrove wrote:
instead of a simple eval like:

  eval "use $tdir\::$module;";

this was fast allright,
but it didn't compile the widgets :-)
Strange  - it compiles everything for me (perl 5.6.0 and Inline-0.43)

Maybe a "require" instead of "use"
would have done the trick?
'perdoc -f use' says:
...
It is exactly equivalent to

BEGIN { require Module; import Module LIST; }
...

Regards, Dermot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]