Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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


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.


Replies are listed 'Best First'.
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...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2016-10-26 09:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (338 votes). Check out past polls.