use File::Path qw(remove_tree);
sub purge_archive{
...
Perl On Delete files from a directory
by Joe McMahon,
November 16, 2009 02:11
sub parse_decimal {
...
Perl On Handling both dots and comm...
by draegtun,
October 09, 2009 21:13
And here are some other exa...
use strict; use warnings; use Test::More; ...
Perl On Handling both dots and comm...
by draegtun,
October 09, 2009 21:08
I'm not going to refactor y...
# Case 1: {comma,period} followed by exactly 3 digits and no occurrence of 4+ digits in a row
# Case 2: {comma,period} followed by exactly N digits where N != 3
# Case 3: No commas or periods
...
Perl On Handling both dots and comm...
by Ben Marini,
October 03, 2009 02:56
Seems like all of these tes...
#!/usr/bin/perl -wT use strict; ...
Perl On Handling both dots and comm...
by Ruben Wisniewski,
September 28, 2009 20:00
I hope I added my patterns ...
my $reformatted = join ':', substr($mac_address, 2) =~ /../g;
use MooseX::Declare;
class Keyboard with MooseX::Getopt {
...
Perl On A Dvorak keyboard layout cy...
by draegtun,
August 13, 2009 13:09
If u're happy with it just ...
#!/usr/bin/perl use warnings; ...
Perl On A Dvorak keyboard layout cy...
by Wayne Rohret,
August 08, 2009 17:36
your main problem is that t...
C:\Documents and Settings\Santa\Mis documentos\Smtp>perl scan.pl Can't locate Net/Telnet.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at scan.pl line 4. ...
%zip = (
'0812' => [ 'ex090130.log' ],
'0901' => [ 'ex081205.log', 'ex081206.log', 'ex081207.log' ],
...
#!/usr/bin/perl use strict; use warnings; ...
Perl On Find the file with the high...
by bonzobo.blogspot.com,
January 07, 2009 14:36
Refactored the code so tha...
use strict; use warnings; ...
#!/usr/bin/perl # Load the Net::FTP package use strict; ...
Perl On Create Backup and send to F...
by mrxinu,
October 22, 2008 13:05
So, a few things:
1. Added...
#!perl ...
Perl On Delete files from a directory
by Marco Valtas,
October 14, 2008 22:35
Hi, usually I use File::Fin...
my @octets = substr($mac_address, 2) =~ /../g; $mac_address = join ':', @octets;
As suggested by 'perldoc -f...