I simply followed the example in "Data Munging with Perl," with some modification. But I am also going to try the docs way. See what happens.

Arms, Mike wrote:

Maybe it's because you did not follow the docs.
Here is what they say:

  # extended usage with names
  print Data::Dumper->Dump([$foo, $bar], [qw(foo *ary)]);

This is substantially different thatn what you wrote.

I use Data::Dumper a *lot* and always use the
"extended usage with names" form, so I know it works.

--
Mike Arms



-----Original Message-----
From: Craig Cardimon [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 8:32 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: Problems installing Data::Dumper


I think I got it working.


I was unable to use the syntax suggested on CPAN:

# extended usage with names
print Data::Dumper->Dump($variables);

I had to use something like this:
print Dumper($variables);

I wish -- just once -- I could use the given syntax! I do more wrestling with syntax these days....

Thanks for trying to help.

Anthony Nemmer wrote:


Eek. No idea. I've never had a problem with Data::Dumper.

Maybe you


have a bad install? I just tried a small test perl script using Data::Dumper using Perl v5.8.0 on my Win 98 box (I know, I

know, I am


behind the times), and it worked fine. On the other hand,

I did a find


for Dumper.al on my Win 98 box and couldn't find it

anywhere. On the


third hand, ODBC stands for Open Database Connectivity and what connection it has to Data::Dumper, I have no idea. I found a Win32::ODBC FAQ at http://www.roth.net/perl/odbc/faq/

though. Maybe you


need to install Win32::ODBC?

Tony

Craig Cardimon wrote:


I took a look.

Dumper is located in the Data folder in the /lib

directory, but not in


/site/lib. Does that matter?

When I put in "use Data::Dumper;" and tried to use it, the script compiled, but when I ran it I got the following error message:

"Can't locate auto/Win32/ODBC/Dumper.al in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .)"

What does that mean?

Anthony Nemmer wrote:


My impression has always been that Data::Dumper is a core

standard


module (that is, it is very likely to be included) in every Perl binary distribution. Have you checked to see if it's not already installed on your machine?

Tony

Craig Cardimon wrote:


When I tried installing Data-Dumper via PPM, I got the following error message:

"Error: no suitable installation target found for

package Data-Dumper."


What does this mean and how can I rectify it? I really

would like to


install the package.

I am using Perl 5.8.3.809 on a machine running Windows XP Pro.

-- Craig
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs





--


Craig Cardimon, Programmer AUS Inc. (Knowledge Express Data Systems; 1-800-529-5337, ext. 24) _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


--



Craig Cardimon, Programmer AUS Inc. (Knowledge Express Data Systems; 1-800-529-5337, ext. 24) _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to