Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Yep, I went to look if I had the Util.pm and I do.

You may have a Util.pm but according to perl you don't have one where it is supposed to be. (C:\Perl\lib\CGI\Util.pm) Perl *is* right about this, although you may possibly have a permissions problem.

So, donīt know what may be the problem.

See above, below, Simple Module Tutorial and A Guide to Installing Modules

This started happening when I replaced the CGI.pm for the new version (3.05)

In other words you have a broken install. Probably because you tried to cut and paste it, maybe for other reasons.

I suggest that the following simple steps will fix your problem. CGI.pm is CORE so its default location is C:\Perl\lib\CGI.pm with more stuff in C:\Perl\lib\CGI\*. Delete this file and directory. Your updgrade on the other hand probably got installed to C:\Perl\site\lib\CGI* so delete the file C:\Perl\site\lib\CGI.pm and directory C:\Perl\site\lib\CGI\* if they exist. If you use PPM also do ppm remove CGI which will complain about not finding stuff but will remove CGI from the install database. Now reinstall using either PPM or perl Makefile.PL && nmake && nmake test && nmake install. Do not try to cut and paste this module (and its ancillary bits). While it can be done correctly it is easy to do it wrong too.

cheers

tachyon


In reply to Re: Problems with CGI.pm by tachyon
in thread Problems with CGI.pm by Andre_br

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-25 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found