#!/usr/bin/perl -w ####################################################### # class2_01_backquotes # # demo how one can set a variable to the result of an # operating system command by using back-quotes # # modified by Sharon Tuttle from "Learning Perl", # by Schartz and Phoenix # # last modified: 4-10-03 ####################################################### $datetime = `date`; print "Current date and time is: $datetime \n"; # end of class2_01_backquotes