Jeffrey Seger schreef:
Dr.Ruud:
JupiterHost.Net:
Dr.Ruud:
Jeffrey Seger:
perl -MData::Dumper -e' print Dumper @INC'
Alternative:
perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED],
[qw(*INC)])'
Oi, why not much cleaner (code and output):
perl -MData::Dumper -e'
Ok, you're right. Let's stop now as we are not adding to anyone's
knowledge of DBI or DBD::*.
On 4/14/06, Dr.Ruud [EMAIL PROTECTED] wrote:
Jeffrey Seger schreef:
Dr.Ruud:
JupiterHost.Net:
Dr.Ruud:
Jeffrey Seger:
perl -MData::Dumper -e' print Dumper @INC'
Alternative:
perl
Jeffrey Seger schreef:
Ok, you're right. Let's stop now as we are not adding to anyone's
knowledge of DBI or DBD::*.
You keep messing up, so I'll see no more of you.
here were 30+ lines that you should have cut
--
Affijn, Ruud
Gewoon is een tijger.
Tim Bunce wrote:
On Wed, Apr 12, 2006 at 04:33:39PM +0200, Dr.Ruud wrote:
Jeffrey Seger schreef:
perl -MData::Dumper -e' print Dumper @INC'
Alternative:
perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED], [qw(*INC)])'
Oi, why not much cleaner (code and output):
perl
JupiterHost.Net schreef:
Dr.Ruud:
Jeffrey Seger:
perl -MData::Dumper -e' print Dumper @INC'
Alternative:
perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED],
[qw(*INC)])'
Oi, why not much cleaner (code and output):
perl -MData::Dumper -e' print Dumper [EMAIL PROTECTED],
I think we can probably end this thread now. If I hadn't been so
tiredit was the middle of the night...I'd have just had him run perl -V
to get his @INC arrary. Cleaner than any of this.
On 4/13/06, Dr.Ruud [EMAIL PROTECTED] wrote:
JupiterHost.Net schreef:
Dr.Ruud:
Jeffrey Seger:
PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 5:34 PM
To: dbi-users@perl.org
Cc: [EMAIL PROTECTED]
Subject: Running DBI, ODBC in the crontab
Hi,
I am running a perl script, using DBI and ODBC (from DataDirect), on a linux
box to connect to SQL server. It works fine if I
Jeffrey Seger schreef:
perl -MData::Dumper -e' print Dumper @INC'
Alternative:
perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED],
[qw(*INC)])'
--
Affijn, Ruud
Gewoon is een tijger.
On Wed, Apr 12, 2006 at 04:33:39PM +0200, Dr.Ruud wrote:
Jeffrey Seger schreef:
perl -MData::Dumper -e' print Dumper @INC'
Alternative:
perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED],
[qw(*INC)])'
Alternative:
perl -V
Tim.
Title: Running DBI, ODBC in the crontab
Hi,
I am running a perl script, using DBI and ODBC (from DataDirect), on a linux box to connect to SQL server. It works fine if I run it from a shell command line.
However, if I put it into a crontab (the same user), I got the following error
Run the following lines in both the command line and crontab:
perl -MData::Dumper -e' print Dumper @INC' ~/inc.log
env|sort ~/env.log
The first will have output that looks something like this:
perl -MData::Dumper -e' print Dumper @INC'
$VAR1 = '/usr/lib/perl5/5.8.7/i586-linux-thread-multi';
11 matches
Mail list logo