At 01:52 PM 8/3/01 -0800, Michael Fowler wrote:
>On Fri, Aug 03, 2001 at 01:40:33PM -0700, Peter Scott wrote:
> > How odd.  All I can suggest is that you get the latest one.  Vide:
>
>What I meant by it not dumping globs is that the glob data structure cannot
>be recovered by eval'ing the code, as your example shows.

Er, the original question I was responding to was

"is there and easy way to dump ALL data structures established by the
currently-running Perl script?"

which didn't appear to be concerned with recovering globs.  I took it to 
mean user-created data structures rather than perl-created structures, this 
being a beginners' list.  But yes, you're right.  I wonder why this is not 
mentioned in the BUGS section of Data::Dumper.

>I thought perhaps you were suggesting Dumper \%:: as an example for dumping
>all of the data structures used by Perl.  Upon deeper inspection I'm
>beginning to think perhaps you were suggesting it just as a way for him to
>discover the symbol table.

Bingo.  But the question was a bit odd to begin with, so the answer is 
likely to be odd too.

>Matthew:
>Either way you'll have to iterate over %:: and manually go through each
>glob's slots, as well as recurse into namespaces (assuming you wanted to
>grab -everything-).  Why is it you need to do this?

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to