- or download this
my $x = 0;
print $x, $x++; # Print 10??
- or download this
#!/usr/bin/perl
...
exit();
- or download this
my $x = 0;
print $x,$x, $x++; # Print 110??
- or download this
my $x = 0;
print $x,$x++, $x++; # Print 210??
- or download this
#!/usr/bin/perl
use strict;
...
exit();
- or download this
$x=0;
&myprint($x, $x++);
...
sub myprint{
print join ",",@_;
}