Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Error running h2xs example from perlxstut

by sam01102005
on Oct 03, 2005 at 08:22 UTC ( #496888=perlquestion: print w/replies, xml ) Need Help??
sam01102005 has asked for the wisdom of the Perl Monks concerning the following question:

The example 1 given in this website by any means looks fairly simple to start with h2xs .

But when i am trying to execute this example i am getting an error message saying:

Could not open 'Mytest.pm': No such file or directory at c:/Perl/lib/E +xtUtils/MM_Unix.pm line 3079.

and line 3079 contanins this statement:

open(FH,$parsefile) or die "Could not open '$parsefile': $!";

WEBSITE ==>http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/lib/Pod/perlxstut.html

Any help would be appreciated

2005-10-03 jdporter edited: added formatting/code tags per consideration

2005-10-03 Retitled by Arunbear, as per Monastery guidelines
Original title: 'urgent :help reqd executing the sample code given from activestate website'

Replies are listed 'Best First'.
Re: Error running h2xs example from perlxstut
by muba (Priest) on Oct 03, 2005 at 09:16 UTC
Re: Error running h2xs example from perlxstut
by blazar (Canon) on Oct 03, 2005 at 08:43 UTC
    The example 1 given in this website by any means looks fairly simple to start with h2xs.
    Which website?!?
    No such file or directory at c:/Perl/lib/ExtUtils/MM_Unix.pm line 3079. and line 3079 contanins this statement: open(FH,$parsefile) or die "Could not open '$parsefile': $!"; WEBSITE ==>http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/lib/Pod/perlxstut.html Any help would be appreciated
    I recommend:
    • using code tags to improve readability (I didn't even attempt to read that),
    • avoiding the "urgent" keyword in subject lines. It generally doesn't increase the probabilities of getting an answer. Most often it actually decreases them.
Re: Error running h2xs example from perlxstut
by rnahi (Curate) on Oct 03, 2005 at 09:10 UTC
    urgent :help reqd ...

    I have very urgently downvoted your post, and with the same urgency I invite you to read How (Not) To Ask A Question.

    Now. Was there anything else you needed that fast?

    HTH

Re: Error running h2xs example from perlxstut
by xorl (Deacon) on Oct 07, 2005 at 11:22 UTC
    Obviously Mytest.pm doesn't exist in the location that the script is looking. You need to figure out what the value of $parsefile is and make sure it has the right absolute path.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-10-23 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (126 votes). Check out past polls.

    Notices?