>At 05:09 +0900 2002.04.04, [EMAIL PROTECTED] wrote:
>>I followed your instructions on how to get at the classic app but I
>>can't seem to get the AppleWorks glue file to compile from it- the
>>droplet kicks in, asks me if I want to overwrite existing files and
>>then does nothing else.
>>
>>MacPerl 5.6.1.r1
>>Mac-Glue-1.01
>
>Maybe you are using an old version of gluemac? It works for me.
Curiouser and curiouser I trashed the droplet and tried to reinstall
the Mac-Glue package, and got the following errors during
installation:
# Compression not available
File 'Blue HD:Applications (Mac OS 9):MacPerl �:untarzipme.plx'; Line 20
Unpacking archive:
Blue HD:Desktop Folder:Mac-Glue-1.01.tar.gz
# Can't use an undefined value as an ARRAY reference.
File 'Blue HD:Applications (Mac OS 9):MacPerl
�:site_perl:Archive:Tar.pm'; Line 708
So I used stuffit to decomp the archive and dropped the folder on
installme.plx:
# Can't load 'Blue HD:Applications (Mac OS 9):MacPerl
�:site_perl:MacPPC:auto:Mac:Memory:Memory' for module Mac::Memory:
DynaLoader error [-2807, Perl--Perl_op].
File 'Blue HD:Applications (Mac OS 9):MacPerl �:lib:DynaLoader.pm'; Line 206
# Compilation failed in require.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:lib:Mac:QuickDraw.pm'; Line 518
# BEGIN failed--compilation aborted.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:lib:Mac:QuickDraw.pm'; Line 518
# Compilation failed in require.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:lib:Mac:Windows.pm'; Line 369
# BEGIN failed--compilation aborted.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:lib:Mac:Windows.pm'; Line 369
# Compilation failed in require.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:lib:Mac:Dialogs.pm'; Line 27
# BEGIN failed--compilation aborted.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:lib:Mac:Dialogs.pm'; Line 27
# Compilation failed in require.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:tarzipme.plx'; Line 28
# BEGIN failed--compilation aborted.
File 'Blue HD:Applications (Mac OS 9):MacPerl �:tarzipme.plx'; Line 28
all this and no gluemac droplet too ................
>Did you go inside AppleWorks.app package to get the actual AppleWorks app?
Yes I did. I didn't do a clean install of the new MacPerl however,
methinks therein lies the problem, I'll try reinstalling MacPerl da
capo
>
> >File "Blue HD:Applications (Mac OS 9):MacPerl ?:lib:Mac:Glue.pm";
>>Line 395: Argument "[0]" isn't numeric in scalar assignment.
>
>What is your line 395?
I included the surrounding part of the script for contextual reasons,
the offending line 395 is marked with the '*=>'
local $Mac::AppleEvents::Simple::CLASSREC = sub {
return _is_class($self, $_[0]);
};
local $Mac::AppleEvents::Simple::ENUMREC = sub {
return _is_enum($self, $_[0]);
};
my @return;
if ($retobj) {
@return = $evt;
} elsif (my $type = $evt->type) {
@return = $evt->get;
@return = _fix_reco($self, {@return}) if $type eq typeAERecord;
@return = @{_fix_reco($self, \@return)} if $type eq typeAEList;
}
*=> $^E = exists $evt->{ERRNO} ? $evt->{ERRNO} : 0; # restore errno
my $return = 1;
# if error handler, only return if error handler returns true
# what should error handler be passed?