advertisement
Forums

The Forum is sponsored by 
 

AAPL stock: Click Here

You are currently viewing the Tips and Deals forum
Three-line perl script goes blorch at line 3
Posted by: Greg the dogsitter
Date: March 31, 2006 10:11PM
Caveat: I don't really know what I'm doing.

Anyway, here's the script:
-----------
#!/usr/bin/perl -w

use DBI;
-----------

Error:
Can't locate DBI.pm in @INC (@INC contains: <names of many locations here...>

So I gotta...what? Download sumpin'?

GtDS
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: microchip13
Date: March 31, 2006 10:19PM
Sorry, can't help.

Some shell, and I could, but perl is weird.



_______________________________________________________________
Security is just a word. The act of being secure is entirely different.
"...but I think that to make your dream a reality, having a dream itself is a mandatory prerequisite"
From A Book: Walking Through The Impossible

Just because it has two clutches, shifts faster, uses a torque converter or has near-infinite gear ratios, requires less driver intervention and is more efficient doesn't make it better in my opinion.
Save The Manual Transmission
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: Seacrest
Date: March 31, 2006 10:50PM
Try this:
[www.macosxhints.com]

In general, you should setup and use CPAN.

type perl -MCPAN -e shell and follow the prompts.
From then on, you can install perl modules by invoking the CPAN shell and typing install Bundle::MODULENAME
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: Seacrest
Date: March 31, 2006 10:53PM
[search.cpan.org]
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: ztirffritz
Date: March 31, 2006 11:45PM
Blorch...is that the new slang for kablooey? I just can't keep up with the slang that kids use...



**************************************
MacResource User Map: [www.zeemaps.com]#
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: Lux Interior
Date: April 01, 2006 08:35AM
#!/usr/bin/perl
$var = "blorch";
print "$var\n";
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: Jimmypoo
Date: April 01, 2006 09:26AM
You know, there ALWAYS has to be a damn comedian in the crowd
where there is something serious being asked.


I especially hate the ones that get to it before I do.

tongue sticking out smiley
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: mattkime
Date: April 01, 2006 09:59AM
if this is for use with mysql....sure you can't do it all in SQL??



Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: TheTominator
Date: April 01, 2006 10:04AM
1. Collect underpants
2. ?????
3. Profit

I think the problem is actually at line 2.
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: wowzer
Date: April 01, 2006 12:11PM
I've always used php with mysql.


Maybe this will help?

[www.saturn5.com]



All I ever really needed to know, I learned from watching Star Trek.
Options:  Reply • Quote
Re: Three-line perl script goes blorch at line 3
Posted by: Greg the dogsitter
Date: April 01, 2006 02:38PM
Thanks, everyone. I'll get a chance to try this again, shortly.

mattkime: Well, much of what I want to automate will use variables, such as a string of the current year and quarter, e.g., 2006_2. So that's where (I think) some kinda scripting language comes in.

However, phpMyAdmin does make it real easy to do queries and populate tables and stuff like that.

GtDS
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 121
Record Number of Users: 186 on February 20, 2020
Record Number of Guests: 2330 on October 25, 2018