Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x(233)
f 215.922.3880
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday
Absolutely! You want to use the DBI module. DBI provides a database
independent way to communicate between Perl and a wide variety of databases.
A great way to start is with the O'Reilly book, "Programming The Perl DBI".
____
Chris Spurgeon
Senior Design Tech
> 2) I am not exactly sure what you mean by "profiled your Perl", however I
do
> do benchmarks on code. I am in the process of redesigning our website,
and
> thus taking this opportunity to improve upon old scripts that will need
> changing anyways. Current improvements to our main script have
You can sometimes get at it from the client side...if you can set up
something on a machine that you control to periodically request a webpage
from the server, and if that web page runs the perl script you want to fire,
you can accomplish the same thing that way.
Chris
Funny, I asked that exact question about a month or two ago. What I was
told, and what worked just fine for me, was to use the general DBI module
along with the more specific DBD::OBDC module. That combo let's you connect
to OBDC compliant DBs, such as MS Access.
A zillion ways. One is
$length = scalar(@thearray);
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x(233)
f 215.922.3880
-Original Message
Heh, copying the file structure from another Windows setup is exactly what I
ended up doing.
But what changes did you make to the autoexec.bat?
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
estate.com and can't find them, and the CPAN
repositories seem to just have the tar.gz version of the modules. Does
anyone have any ideas?
____
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
This e-mail is intended solely for the above-mentioned recipient and
perldoc -f substr
Just use a negative number for the offset, and it grabs characters from the
right.
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x
Sho nuff.
Hell, for that matter, you can just blow them all away from within emacs.
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x(233)
f
perl -i.bak -npe 's/\r\n/\n/g'
where is the filename you want to clean.
A backup copy of your original file will be created in the same directory
with a ".bak" extension.
____
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
On
Probably many ways to do this but one would be
if (($letter ge "A") && ($letter le "L")) {
do something
}
____
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19
I have this code snippet...
$x = 1;
$y = 2;
sub foobar {
print "You fired the subroutine!\n";
}
print <
n this
type of thing.
____
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x(233)
f 215.922.3880
-Original Message-
From: Clive Lansink [mailto:[EM
Yeah, that gets rid of the key as well.
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x(233)
f 215.922.3880
-Original Message-
From: Mike
Say you've got a hash called %myhash and it's got a key called "foo".
delete $myhash{foo};
will get rid of the "foo" key.
____
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19t
Yow! Just a quick note to the differently clued, you really don't want to
run that example. Maybe do something like
system("ls -lt /");
instead.
____
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad St
17 matches
Mail list logo