[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re(3): [MacPerl] Glue::WebSTAR_301



At 12.03 -0400 1998.10.08, Josh Gemmell wrote:
>Josh Gemmell writes:
>>
>>Oh, well. I think you may want to do some checking in Glue anyways - for
>>whether or not a boolean has already been MacPacked.
>>
>Whoops! I just checked your code again and realised that Glue.pm wouldn't
>be the best place to check for that. Mac::Types might be better, but a
>better way would be to send the appropriate type to begin with. Mea culpa!
>:-\

Hm.  So sending a 0 still does not work properly?  If I were you, I would
try a couple of things: first, use Data::Dumper to print the
Mac::AppleEvents::Simple object that you are using:

  $event = $webstar->Suspend_Logging( 0 );
  print $event->{EVENT}, "\n";
  print $event->{REPLY}, "\n";

This will show what your sent event looks like (and the reply).  Then
perhaps we can look into debugging it more.

Thanks,

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch