@fields = ("name", "description", "other_name", "etc");
print "UPDATE tablename";
for (@fields) {
...
Perl Method and database insertion
by iyf.myopenid.com,
September 19, 2010 21:02,
7 refactorings
Hello,
This is the first t...
#>>if Record Type is vehicle---------------<<
if($filename =~ m/$infile3/){
#>>process vehicle records
...
Perl Help make my code blocks be...
by dareljohnson.myopenid.com,
May 13, 2010 03:19,
1 refactoring, tagged with perl, search and replace fields
There's a lot of repletion ...
#!/usr/bin/perl -wT use strict; ...
Perl Handling both dots and comm...
I'm trying to create a meth...
#!/usr/bin/perl use warnings; ...
Perl A Dvorak keyboard layout cy...
I can't quite get the last ...
use Time::DaysInMonth; # Get todays date in the form of YYMMDD ...
Perl Processing files by date.
by trirnoth,
February 26, 2009 16:08,
5 refactorings
The following takes a date ...
#!/usr/bin/perl use strict; use warnings; ...
Perl Find the file with the high...
Here's a small script that ...
#!/usr/bin/perl
#smtp scanner by Tak
...
Perl Smtp Scanner
by tak11.myopenid.com,
December 16, 2008 04:07,
8 refactorings, tagged with perl, smtp, scanner, port
I wrote this a LOONGG time ...
#!/usr/bin/perl # Load the Net::FTP package use Net::FTP; ...
Perl Take Last modified file in ...
I code this script for need...
#!/usr/bin/perl # Load the Net::FTP package use Net::FTP; ...
Perl Create Backup and send to F...
I code this script for need...
use File::Spec;
sub purge_archive{
...
Perl Delete files from a directory
I want to remove all files ...
#!/usr/bin/env perl #What follows is the demented codings of someone bored. package upsidedown; ...
Perl Guess the Code
As the title implies, guess...
perl -le'*{$#_}=sub{world},s;"*;$,=$";e,*{$"}=sub{Hello},print$_--->(),&$_'
Perl Hello world!
by Simon Law,
March 18, 2008 13:49,
3 refactorings, tagged with perl, one-liner, obfuscated, hello world
Can you refactor this to ma...
curl http://www.cnn.com | perl -ne 'm/>([^<].*?[^>])<\// && print$1."\n"'
Perl Perl one-liner to extract x...
by griflet,
November 13, 2007 17:19,
4 refactorings, tagged with xml, perl, oneliner, one-liner, tags, html, xhtml
Hello,
I'm a web-scrapping...
use Cache::FileCache; $cache = new Cache::FileCache( ); ...
Perl Cache::Cache subroutine wit...
by montoya,
October 11, 2007 19:17,
2 refactorings
I'm having serious trouble ...
#!/usr/bin/perl use LWP::Simple; ...
Perl Random sentence generator
by EXPERTPROGRAMMER,
September 27, 2007 19:31,
24 refactorings
Random sentence generator
I've been studying Perl for...