Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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.


Comment on Re: Perl and MS Project
Download Code
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 studying the Monastery: (8)
As of 2016-02-12 21:31 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (414 votes), past polls