this is how far I got..
#!/usr/bin/perl
use strict;
use warnings;
# Specify a date
my $date = shift || undef;
#Search string as the script argument
my $2009 = shift || die "No Cardholder2010 found!\n";
# Get the gzipped log files as an array
my @files = glob '/apps/servlet-timer.log*' ...
I want to learn perl and figured I could learn best by examples. I have been reading tech articles and I would like to know the easiest way to convert this bash script to perl. Thanks!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.