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

Re: [MacPerl-Modules] Glue: working with reference forms



At 15:40 -0500 1999.09.09, Jefferson R. Lowrey wrote:
>At 3:58 PM -0400 9/9/99, Chris Nandor wrote:
>>I would first try:
>>
>>  use Data::Dumper;
>>  print Dumper $selection;
>>
>>See what is in there.
>>
>
>I did that before I wrote my question actually.  I got an out of memory
>error.  Once I upped the memory allocation of BBEdit, (after you replied) I
>was able to actually get a print out.  It was very very long and looked
>like it was the entire glue object.

That isn't right.  That should only happen if you specify RETOBJ => 1 as a
parameter, or do $glue->RETOBJ(1).

You can do this to get the Right Thing, if you have specified RETOBJ:

  print $selection->get;

If you are not calling RETOBJ yourself, what version of Mac::Glue do you have?


>This suggests that I might have to look at the reply, rather than the
>direct result?

You can look at the REPLY, but the get method is better.  It massages the
data as necessary for you.

-- 
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 macperl-modules-request@macperl.org