The Roopak Times wrote:
Hi All
As i was continuing with perl i created a program to churn out individual
directory names from a given path in windows.Here is the program:
#use warnings;
#use strict;
Print "Enter the path:";
my $dir=;
chomp($dir);
my @DIR=split ///, $dir;
print $DIR[0];
but it th
Why not use `date' directly?If you want to use perl indeed,how about this:
#!/usr/bin/perl -w
system("date \"+Day: %d\"");
Christopher Spears wrote:
I want to catch the various parts of the output of the
date command. Here is my script:
#!/usr/bin/perl -w
use strict;
my $date = system("dat