Is there a way I can create a module that wraps this two stuff into my script via a begin and end blocks by only importing it via a 'use' directive?#/usr/bin/perl -w use stict; print "Started: strftime( "%a %b %d %T %Z %Y", localtime )\n"; # stuff done here print "Stopped: strftime( "%a %b %d %T %Z %Y", localtime )\n";
In reply to Start / Stop Time Module by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |