- or download this
#!/usr/bin/perl
...
<>; # This will just pause the script.
print "End: Coming from the script.\n";
- or download this
#$ perl test.pl > /tmp/main_log.txt
- or download this
Start: Coming from the script.
Coming from re-opening the opened log file.
Coming from sub-log file.
- or download this
Start: Coming from the script.
End: Coming from the script.
ened log file.
Coming from sub-log file.
- or download this
Start: Coming from the script.
Coming from re-opening the opened log file.
Coming from sub-log file.
End: Coming from the script.