Does anyone have ConfigLocal.pm

Used on win32 machines with activestate perl sending info to my linux firewall.

perl2exe is causing me grief I have found all the files that it asked for except this one.

I need to remotely send information to my firewall, I don't want students finding and messing with the scripts so it has to be compiled.

My Perl script works perfectly but it won't work without this file, tried exlude command but that didn't work either (It elcuded the file which compiled and then dosn't work.

Proff of concept scrip below works but exe won't post.

I

#!/usr/bin/perl #perl2exe_include HTTP::Request::Common #perl2exe_include LWP::UserAgent # Script to emulate a browser for posting to a # CGI program with method="POST". # Specify the URL of the page to post to. # my $URLtoPostTo = "http://flowto.info/cgi-bin/Dump.cgi"; my $URLtoPostTo = "https://10.10.10.10:5445/cgi-bin/lon.cgi"; # Specify the information to post, the form field name on # the left of the => symbol and the value on the right. my %Fields = ( "name" => "nivend", "test" => "testdata", "ip" => "10.10.10.171" ); # As seen above, "@" must be escaped when quoted. # If you want to specify a browser name, # do so between the quotation marks. # Otherwise, nothing between the quotes. my $BrowserName = "This Be Mine"; # It's a good habit to always use the strict module. use strict; # Modules with routines for making the browser. use LWP::UserAgent; #Next Module does the post request use HTTP::Request::Common; # Create the browser that will post the information. my $Browser = new LWP::UserAgent; # Insert the browser name, if specified. if($BrowserName) { $Browser->agent($BrowserName); } # Post the information to the CGI program. my $Page = $Browser->request(POST $URLtoPostTo,\%Fields); # Print the returned page (or an error message). print "Content-type: text/html\n\n\n"; if ($Page->is_success) { print $Page->content; } else { print $Page->message; } # end of script

In reply to Encode:ConfigLocal Missing by networknerd

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.