Re: [Perl-unix-users] Sub-routines

2001-09-24 Thread $Bill Luebkert
FamilyConnect wrote: > > Problem...I am defining my subroutines at the beginning of my program, and Perl > is executing the subroutine at compile time before it is actually called.I > don't think this is proper behaviour...e.g. > > open (LOG, ">/tmp/log"); > > sub nearlyfatallywounded ($) {

Re: [Perl-unix-users] Sub-routines

2001-09-24 Thread Bill Jones
On 9/24/2001 4:08 PM, "FamilyConnect" <[EMAIL PROTECTED]> wrote: > Problem...I am defining my subroutines at the beginning of my program, and > Perl > is executing the subroutine at compile time before it is actually called.I > don't think this is proper behaviour...e.g. > You mean when you

[Perl-unix-users] Sub-routines

2001-09-24 Thread FamilyConnect
Problem...I am defining my subroutines at the beginning of my program, and Perl is executing the subroutine at compile time before it is actually called.I don't think this is proper behaviour...e.g. open (LOG, ">/tmp/log"); sub nearlyfatallywounded ($) { my $ERRMSG=$_[0]; print LOG "The Erro