Here you go, and your guess as to what prints out is right on; subroutines 
don't run until they're called, and placement in this situation doesn't 
affect anything.

#!/usr/bin/perl -w

use strict;

print "one\n";
 
sub aa {
    print "two\n";
}

print "three\n";
print "four\n";

sub bb {
    print "five\n";
}

print "six\n";
aa();
bb();
print "seven\n";


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to