> When trying to run this script I got the following error
> Can't locate object method "new" via package "CardLayout" at Cardlayout.pl
> line 12.
>
> Line 12 = $card1 = new CardLayout($Window, "main");
>
> What is wrong ?
>
> TIA,
>
> Jorn
>
> p.s. I placed CardLayout.pm in the directory: c:\perl\site\lib\win32\GUI
$card1 = new Win32::GUI::CardLayout($Window, "main");
The module originaly was CardLayout, but I think all those should be
UNDER Win32::GUI.
Also review if the first line of the module is
package Win32::GUI::CardLayout;
and not
package CardLayout;
Jenda
== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
The phenomenon of UFO doesn't say anything about
the presence of intelligence in space.
It just shows how rare it is here on the earth.
A.C.Clarke