- or download this
my $total_population = $generations{$_};
$total_population += $generations{$_ - 1} if $generations{$_ - 1};
$total_population += $generations{$_ - 2} if $generations{$_ - 2};
- or download this
dim sh, f, i, v
...
end if
next
- or download this
use List::Util qw( shuffle );
...
print
- or download this
sub parse_csv1 {
my $text = shift; # record containing comma-separated values
...
return @fields;
}
- or download this
my @f = parse_csv1('first,"second","thi,rd","fou""rth"');
print "$_\n" for @f;
- or download this
first
second
...
rd
fou
rth
- or download this
( now a field is either
- or download this
( # now a field is either
- or download this
/* a basic one: */
...
div.comment-on { text-align: center; font-size: larger; background-col
+or: #DFB; }
- or download this
<jcw> Jebus, I can't type.
...
*<* Signoff: theorbtwo (Ping timeout)
<jcw> 3 for the price of 1!
- or download this
{
...
# does this print "Foo!" or "Foo=HASH(0xdeaded)"?
- or download this
:set shiftwidth=2
:set foldcolumn=8 (not important)
:set foldmethod=indent
:1,$foldopen! (to open all folds)
- or download this
use Tk::FileSelect;
...
$fs->Accept_dir($new_dir);
}
- or download this
package SNMPfu;
...
1;
- or download this
my $sess = Net::SNMP->session( ... );
# or:
...
my $val = $sess->get('sysDescr.0');
- or download this
my $sh = new Win32::OLE 'Shell.Application' or die;
...
my $item = $folder->ParseName( $unqualified_filename ) or die;
$item->InvokeVerb('Edit');
- or download this
/*
...
}
WScript.Echo(a.join("\n"));
- or download this
use LWP::Simple;
use XML::Simple;
...
}
print "$total rep in $n nodes\n";
- or download this
use LWP::Simple;
use strict;
...
m$a=16046;for_userid=$_m,map m
user_id="(\d+)"ug,get qq
m$a=15851m;
- or download this
<form method="post" action="?" enctype="application/x-www-form-urlenco
+ded">
<input type="hidden" name="node_id" value="170442">
...
<input type="text" name="replytotext" size=60 maxlength=255>
<input type="hidden" name="sexisgood" value="submit">
</form>