Re: How to enumerate modules loaded?

2005-10-01 Thread John W. Krahn
Siegfried Heintze wrote: > How can I enumerate the file names of all the perl modules that are loaded > in the current perl program? $ perl -le'print for keys %INC' $ perl -MB -le'print for keys %INC' XSLoader.pm Exporter.pm strict.pm B.pm $ perl -MBenchmark -le'print for keys %INC' warnings/regis

Re: How to enumerate modules loaded?

2005-10-01 Thread Chris Devers
On Sat, 1 Oct 2005, Siegfried Heintze wrote: > How can I enumerate the file names of all the perl modules that are > loaded in the current perl program? Probably not quite what you have in mind, but... $ cd /tmp $ for dir in `perl -le 'print join("\n", @INC)'`; do > find "$dir" | grep '\.

Re: Urgent help in h2xs

2005-10-01 Thread Xiaofang Zhou
Hi, Sam, Check what version of VC u're running: active perl 5.001-> vc++5.0 active perl 5.6->vc++6.0 active perl 5.8->vc.net? Thanks, Xiaofang. 在 2005-10-01 18:22:00 您写道: >hi > >I am new to perl and have got a project of interfacing c/c++ code with perl >and have downloaded active perl. > >But

How to enumerate modules loaded?

2005-10-01 Thread Siegfried Heintze
How can I enumerate the file names of all the perl modules that are loaded in the current perl program? Thanks, Siegfried -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dealing with Uninitialized values in an array and DBI?

2005-10-01 Thread Jeff 'japhy' Pinyan
On Oct 1, Crayola said: Use of uninitialized value in concatenation (.) or string at ./audit-logs.pl line 98. Which line that you've shown us is line 98? The code is below. my $oth = $oracledbh->prepare ("select * from sys.aud\$ where timestamp\# > ? "); While the '$' does need a

Re: how to check the particular perl module is installed or not on unix machine...............

2005-10-01 Thread Sebastian Stumpf
> (Here on perl-beginners, I think non-LOL English is the preferred > dialect.) ACK If you want to run your checks from a perl script, you will need to eval the code. You could try something like this: BEGIN { eval('use ModuleName'); die "You need to install ModuleName...\n" if $@

Re: how to check the particular perl module is installed or not on unix machine...............

2005-10-01 Thread Adriano Ferreira
On 10/1/05, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > perl -MModuleName -e1 You can even find out the version you have installed with perl -M'ModuleName 999' -e1 where 999 is a too large version number. For example $ perl -M'lib 999' -e1 lib version 999 required--this is only versio

Re: how to check the particular perl module is installed or not on unix machine...............

2005-10-01 Thread Octavian Rasnita
From: <[EMAIL PROTECTED]> To: Sent: Saturday, October 01, 2005 15:27 PM Subject: how to check the particular perl module is installed or not on unix machine... > > Hi > > Perlers... > Could u plz help me how to check in unis machine whether a particular perl > module is insta

Re: how to check the particular perl module is installed or not on unix machine...............

2005-10-01 Thread Ricardo SIGNES
* [EMAIL PROTECTED] [2005-10-01T09:27:16] > Perlers... > Could u plz help me how to check in unis machine whether a particular perl > module is installed on unix machine or not (Here on perl-beginners, I think non-LOL English is the preferred dialect.) The traditional test for "Do I have

how to check the particular perl module is installed or not on unix machine...............

2005-10-01 Thread mayank . ahuja
Hi Perlers... Could u plz help me how to check in unis machine whether a particular perl module is installed on unix machine or not Mayank Ahuja Team Member Tata Consultancy Services Limited Ph:- 044-5816 Cell:- 9283199460 Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notic

Urgent help in h2xs

2005-10-01 Thread sam joseph
hi I am new to perl and have got a project of interfacing c/c++ code with perl and have downloaded active perl. But i am stuck at the very basic step of execution. To interface i have to perform foll step: run h2xs run perl makefile.pl nmake after this i get an error message saying types.

Re: Using the module HTTP::Request

2005-10-01 Thread Josh Brown
Hello All, I am trying to use the module HTTP::Request. I tried to use the code given in perldoc HTTP::Request Here is my code == #!/usr/bin/perl -w use strict; require HTTP::Request; require LWP::UserAgent; my ($request,$response,$ua); $ua = LWP::UserAgent->new; $request = H