Re: Regarding Perl DBI version issue.

2007-04-04 Thread Jonathan Leffler
Amen! (And politely put - I'm not sure I could have managed to be so tactful.) On 4/4/07, Peter J. Holzer <[EMAIL PROTECTED]> wrote: On 2007-04-04 14:00:45 +0530, RaviChandra Chelikam wrote: > Yes u r correct. For root user I don't have have /usr/local/bin in the path. > > For Root user,

Re: Regarding Perl DBI version issue.

2007-04-04 Thread Peter J. Holzer
On 2007-04-04 14:00:45 +0530, RaviChandra Chelikam wrote: > Yes u r correct. For root user I don't have have /usr/local/bin in the > path. > > For Root user, currently it is showing /usr/bin/perl. And It is pointing > to perl, version 5.005_03 built for sun4-solaris. > > Could u plz

Re: Regarding Perl DBI version issue.

2007-04-04 Thread Peter J. Holzer
On 2007-04-04 10:25:42 +0200, Johannes Gritsch wrote: > Obviously root user gets another PATH variable than a normal user. From your > output I would assume the correct perl version to use is somewhere under > /usr/local (most probably /usr/local/bin). Rearrange PATH for root before > calling pe

RE: Regarding Perl DBI version issue.

2007-04-04 Thread RaviChandra Chelikam
Root user so that it points for 5.6.1 version. Thanks & Regards Ravi From: Kai Schwermann [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 1:35 PM To: RaviChandra Chelikam Subject: Re: Regarding Perl DBI version issue. Hi, as ROOT y

Re: Regarding Perl DBI version issue.

2007-04-04 Thread Johannes Gritsch
Obviously root user gets another PATH variable than a normal user. From your output I would assume the correct perl version to use is somewhere under /usr/local (most probably /usr/local/bin). Rearrange PATH for root before calling perl should do the trick. If in doubt, do echo $PATH as norm

Regarding Perl DBI version issue.

2007-04-04 Thread RaviChandra Chelikam
HI When I am using the command from root user in the sunsolaris operating system. i.e perl -e 'use DBI; print $DBI::VERSION,"\n";' I am getting the following error. Can't locate DBI.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl