Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 3292218ae8be3d2be9642ee26003af43 > files > 222

perl-Devel-Trepan-0.500.0-2.mga4.noarch.rpm

#!/usr/bin/env perl
# For testing next, next+ next-, step+, step-, and set different;
sub p() { 
    return 5;
};

# To have something to "step different" with.
my $x=1; my $y=2; 
$x=$y; $y = 4; $x += $y;
$x=6; $y = p(); my $z = p(); 

# To have something to "step" with
$x = 8;
$x += $y;
$x += $z;
$x += 5;
$x -= 5;