in reply to Re: Re: Need help with a loop (i think)
in thread Need help with a loop (i think)
Then use $celnum in place of "3" in your orig script.. You will want to refine this approach but you get the idea.open (CELLNUM, "/usr/local/share/dailystats/.cellnum") or die "Cant op +en Cell num file: $!\n"; open (CELLNUM2, ">/usr/local/share/dailystats/.cellnum") or die "Cant +open Cell num file: $!\n"; $cellnum = <CELLNUM>; $cellnum++ print CELNUM2 "$cellnum"; close CELNUM; close CELNUM2;
|
|---|