一個關於Prima的問題

一個關於Prima的問題

我用Prima中的VisualBuilder作了一個程序,
儲存後是.fm的檔案,
內容如下:
# VBForm version file=1.2 builder=0.2

# [preload]

sub
{
    return (
    'CrackNow' => {
        class   => 'Prima::Button',
        module  => 'Prima::Buttons',
        profile => {
            owner => 'Crack',
            borderWidth => '7',
            autoEnableChildren => 0,
            origin => [ 0, 0],
            name => 'CrackNow',
            onClick => Prima::VB::VBLoader::GO_SUB('my $self = $_[0];
','CrackNow', 'onClick'),
            size => [ 104, 62],
    }},
    'Crack' => {
        class   => 'Prima::Window',
        module  => 'Prima::Classes',
        parent => 1,
        code => Prima::VB::VBLoader::GO_SUB(''),
        profile => {
            left => 490,
            width => 110,
            origin => [ 490, 450],
            name => 'Crack',
            bottom => 450,
            height => 62,
            size => [ 110, 62],
            sizeDontCare => 0,
            borderStyle => bs::Dialog,
            borderIcons => 0,
            originDontCare => 0,
    }},
    );
}

請問怎樣調用這個?
会回传一个hash map...
看你要把这个sub {} 放在哪儿..请注意这个hash map的结构很复杂...