I tried to make an EXE for you, but my version of Perl is a little messed up on this machine (I don't have many Win32 machines, so...). I did get the script to compile into an EXE, though. You need to add the path to the libs directory ('set PATH=%PATH%;C:\PERL\SITE\LIB' in my case). Then you need to do something scary: you need to comment out the 'strict' pragma from HTTP:Status.pm (at line 6) and LWP::Simple.pm (at line 147). For some reason, it wouldn't compile otherwise. Oh yeah, those line numbers might be a little different for you, but you get the idea.
That's about all there is to it. If I had a cleaner environment, I'd have an EXE for you, but this box is a little whacked. Good luck to ya...
-Bill
-
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.
|