- or download this
for (my $i=1; $i<=10000; $i++) {
my $s = Sheep->new($i);
$gate->through($s);
}
- or download this
my @herd;
for (1..10000) {
push @herd(Sheep->new($_));
}
$gate->through(\@herd);
- or download this
$gate->through(Sheep->new($_)) for (1..10000);
- or download this
$me =~ s!wide awake!fast asleep!g;
- or download this
$me =~ s!wide awake!asleep(fast)!ge;
- or download this
$me =~ s!wide awake!asleep('fast')!ge;
- or download this
$me =~ s!(wide )?awake!asleep('fast')!ge;
- or download this
$me =~ s!(?:wide\s+)?awake!asleep('fast')!ge;