Help,

OK - a perl procedure returns a reference to a hash, or at least I think 
that what it returns.

datadumper returns the following.
$VAR1 = {
          'discrete' => 'text',
          'composite' => 'plain',
          'attributes' => {
                            'charset' => 'us-ascii'
                          }
        };

now all I have is:
my $data = parse_content_type($ct);

How to I access $var1{attributes}{charset} as the above returns %data 
requires explicit package ...
I know its because I don't fully understand references, help please.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to