#!C:/Perl5/bin/perl.exe ################################################################################ # # Program: pdemo3.pl # Author: Peter R. Schmidt # Description: Print "Hello World" along with date and time # with only one "print" statement # Date: 03/04/99 # ################################################################################ # WHERE TO FIND PERL FUNCTIONS push (@INC,"C:/perl5/lib"); # WHERE TO FIND STANDARD PERL FUNCTIONS require "ctime.pl"; # INCLUDE THIS FILE AS PART OF MY PROGRAM ###################################################################### $SYS_DT = time; # GET THE SYSTEM TIME $DT_STR = &ctime($SYS_DT); # REFORMAT INTO A STRING print <

Hello World.

(pdemo3.pl)


The date and time is
$DT_STR

TAGPOINT ################################################################################