Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl and MS Project

by Wonko the sane (Deacon)
on Mar 23, 2004 at 13:29 UTC ( #338984=note: print w/ replies, xml ) Need Help??


in reply to Perl and MS Project

Hello,

I have never used any of these packages, but the error you are getting
Is very much like the error you would get if the string 'test.mpp'
was the value of "$app->{Projects}". In other words I think you are trying
to call a method on a string value.

This code produces a similar error.

#!/usr/local/bin/perl5.6.0 -w use strict; my $app = { Projects => 'test.mpp' }; my $r = $app->{Projects}->Item(1);

Hope that helps.

Wonko


Comment on Re: Perl and MS Project
Download Code
Re: Re: Perl and MS Project
by PerliKnight (Acolyte) on Mar 23, 2004 at 18:31 UTC
    ...not really. Not sure what you're getting at?
    That code was lifted from another bit of the Monastery and since I've got other Win32 things running just fine, I kind of expected it just to work. So either the code is wrong or I've something missing from my PC but am not sure which it is...
    Thanks,
    David

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://338984]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-07-12 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls