Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Could I get some feedback on my code please?

by nobull (Friar)
on Jan 13, 2007 at 11:40 UTC ( [id://594524]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use LWP::Simple;
    use LWP::UserAgent;
    use HTTP::Request;
    use HTTP::Request::Common qw(GET);
    use HTTP::Response;
    
  2. or download this
    $|=1; #Disable buffering to allow instant output of text.
    
  3. or download this
    our $editorPassword = "**********";
    our $language = "en"; # language code for wikipedia namespace
    our $enabled = "true"; # set to false to take offline/disable
    
  4. or download this
    if ($enabled eq "true") {
    
  5. or download this
    if ($enabled) {
    
  6. or download this
    &getInput;
    
  7. or download this
    getInput();
    
  8. or download this
    my @gettheip = split(/\./,$ENV{'REMOTE_ADDR'});
    my $remoteHost = "$gettheip[0].$gettheip[1].$gettheip[2].$gettheip[3]"
    +;
    
  9. or download this
    sub readEditTokens {
    
    ...
        close (TOKENFILE);
        return ($editTokens);
    }
    
  10. or download this
    sub readEditTokens {
        open(my $TOKENFILE, '<', $editTokenFile) or
    ...
        my $editTokens = <$TOKENFILE>;
        return ($editTokens);
    }
    
  11. or download this
    print STDOUT "Content-type: text/html\n\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594524]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-20 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found