You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/perl -w
|
|
|
|
use strict;
|
|
|
|
my $record;
|
|
$record = 4;
|
|
print "We're at record ", $record, "\n";
|
|
|
|
{
|
|
my $record;
|
|
$record = 7;
|
|
print "Inside the block, we're at record ", $record, "\n";
|
|
}
|
|
|
|
print "Outside, we're still at record ", $record, "\n";
|