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

grinder's scratchpad

by grinder (Bishop)
on Jun 01, 2004 at 17:46 UTC ( #358312=scratchpad: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Watch;
    
    ...
        do_something( $w->get );
        sleep 10;
    }
    
  2. or download this
    #! /usr/local/bin/perl -w
    
    ...
    (?:3(?:7[012346789]?|8[234589]?|0\d?|1\d?|2\d?|3\d?|4\d?|5\d?|6\d?|9\d
    +?)|1(?:0\d?|1\d?|2\d?|3\d?|4\d?|5\d?|6\d?|7\d?|8\d?|9\d?)|2(?:0\d?|1\
    +d?|2\d?|3\d?|4\d?|5\d?|6\d?|7\d?|8\d?|9\d?)|4(?:0\d?|1\d?|2\d?|3\d?|4
    +\d?|5\d?|6\d?|7\d?|8\d?|9\d?)|5(?:[01256789]|3[01234]?|4[123]?)|7(?:[
    +123456789]|0[01234789]?)|6(?:[023456789]|1[89]?)|8\d|9\d)
    % ./ra | wc -c
         335
    
  3. or download this
    my $foo = [
      1,
    ...
    1 3 4 5
    1 3 4 6
    1 3 4 7
    
  4. or download this
    <head>
    <script language="javascript">
    ...
    <img border="0" name="oleane-th" src="oleane-thumb.png"/><br />
    <img border="0" name="completel-th" src="completel-thumb.png" />
    </body></html>
    
  5. or download this
    #! /usr/bin/perl -w
    
    ...
            $sdump->finish;
            print "\n";
    }
    
  6. or download this
    my @friends = ("merlyn","nate", "vroom", "neshura", "chromatic", "seta
    +ntae", "btrott","stephen","lhoward","ZZamboni","kudra","tilly","cogen
    +t");
    my $friend;
    $friend ||= $friends[rand(@friends)];
    $query->textfield("usersearch", $friend);
    
  7. or download this
    #! /usr/bin/perl -w
    
    ...
    openlog( basename($0), 'pid', 'daemon' );
    syslog('err', 'this is a test');
    closelog();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-09-23 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (242 votes), past polls