Re: I did it a mess with perl
On Sat, Jul 21, 2001 at 01:22:19PM +0000, Victor wrote:
> Hi Friends,
>
> I'll be a long reading for you!
>
> As an absolute beginner with Perl I've been having a go at using Perl
> & DBI to connect to an Oracle server. therefore I neede to download
> and install from www.cpan.org the DBD::Oracle and the new DBI.......
>
> *The Sad Story*
>
> Reading the poor documentation under my debian potato 2.2r3 and the
> copious documentation on Perl (www.perl.org), perldoc and CPAN, and
> following the advice in dbi-users@perl.org list, not finding the
> command 'cpan' in my potato installation, I finally issued:
>
> perl -MCPAN -eshell
>
> which (unfortunately) started a brand-new compilation and installation
> (using, upon my silly declaration, /usr/bin and /usr/lib) of perl
> (5.6.1), and of the DBI and DBDs I'd asked for.
ick. this is one of the reasons to find an alternate source for
CPAN material, i fear. (sometimes it's great to have the latest
and greatest -- but it's really nice the way debian works with
its "oh, you have version X clavis? then here's the compatible
version Y of frammistat to go with it...")
be aware also that many of the CPAN modules are ALREADY
debianized as
# apt-get install lib<something-or-other>perl
for example, my potato setup knows of:
$ dpkg --get-selections lib\*perl | cut -f1
libansicolor-perl
libapache-asp-perl
libapache-dbi-perl
libapache-dbilogger-perl
libapache-filter-perl
libapache-mod-perl
libapache-session-perl
libapache-ssi-perl
libauthen-pam-perl
libcgi-xml-perl
libcgi-xmlform-perl
libcompress-zlib-perl
libdbd-csv-perl
libdbd-mysql-perl
libdbd-pg-perl
libdbi-perl
libdelimmatch-perl
libdevel-symdump-perl
libdigest-md5-perl
libhtml-embperl-perl
libhtml-mason-perl
libhtml-parser-perl
libhtml-simpleparse-perl
libi18n-langtags-perl
libio-stringy-perl
libmime-base64-perl
libmime-perl
libmldbm-perl
libnet-dns-perl
libnet-perl
libnet-telnet-perl
libpgperl
libsgmls-perl
libsql-statement-perl
libstorable-perl
libterm-readkey-perl
libtext-csv-perl
libtext-format-perl
libtime-hires-perl
libtime-period-perl
libtimedate-perl
liburi-perl
libwww-perl
libxbase-perl
libxml-dom-perl
libxml-generator-perl
libxml-grove-perl
libxml-node-perl
libxml-parser-perl
libxml-perl
libxml-rss-perl
libxml-twig-perl
libxml-writer-perl
even tho i only have installed
$ dpkg --get-selections lib\*perl | grep install
libapache-asp-perl install
libapache-dbi-perl install
libapache-dbilogger-perl install
libapache-filter-perl install
libapache-session-perl install
libapache-ssi-perl install
libauthen-pam-perl install
libdbi-perl install
libdelimmatch-perl install
libdevel-symdump-perl install
libdigest-md5-perl install
libhtml-mason-perl install
libhtml-parser-perl install
libhtml-simpleparse-perl install
libi18n-langtags-perl install
libmime-base64-perl install
libmldbm-perl install
libnet-dns-perl install
libnet-perl install
libnet-telnet-perl install
libpgperl install
libsgmls-perl install
libstorable-perl install
libterm-readkey-perl install
libtext-format-perl install
libtime-hires-perl install
libtimedate-perl install
liburi-perl install
libwww-perl install
to learn about the ones you have downloaded, do
dpkg -L lib<whatever>perl
apt-cache show lib<yadayada>perl
--
DEBIAN NEWBIE TIP #62 from Will Trillich <will@serensoft.com>
:
Wouldn't it be nice to SEE YOUR TABS WHILE YOU EDIT? With Vim,
you can do this with
:set listchars=tab:+-,trail:$
:set list
and format them via ":highlight NonText ...". (See ":help listchars"
and ":help highlight" for more info.) Put them in your ~/.vimrc if
you decide you like that setup.
Also see http://newbieDoc.sourceForge.net/ ...
Reply to: