Hi
Hi, I am trying to parse a HTML file with HTML::TableExtract.
The main aim is to capture the final rows (that contain "TOTAL") into array
reference.
How come my code below doesn't do the job?
I have attached the html file (dm01g_4.html) which I want to parse/obtained
final result
__BEGIN_
I want to use the static webpage CMS system of Latemp as found at
http://web-cpan.berlios.de/latemp/
Install begins with perl -MCPAN -e "install Bundle::latemp"
On my SuSE 9.3 system, I get error messages. They are listed below.
I would be grateful for help in understanding what these messages a
HI!!!
i'm tring to use DBI module
Here is the code
#!/geneva/geneva/dev1/perl5/bin/perl
#
use strict;
use DBI;
use warnings;
my $dbh = DBI->connect( 'dbi:Oracle:MYSEED,
'donald',
'duck',
{
RaiseErr
Hi,
Simple,
Put:
RaiseError=> 0
Printerror=> 1
José Pedro Silva Pinto
-Original Message-
From: Lorenzo Caggioni [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 7 de Dezembro de 2005 10:50
To: beginners@perl.org
Subject: DBI:ORACLE
HI!!!
i'm tring to use DBI module
Here is the code
#!/g
On Wed, 2005-12-07 at 12:50 +0200, Lorenzo Caggioni wrote:
> HI!!!
Hi
> i'm tring to use DBI module
>
> Here is the code
>
> #!/geneva/geneva/dev1/perl5/bin/perl
> #
>
> use strict;
> use DBI;
> use warnings;
>
> my $dbh = DBI->connect( 'dbi:Oracle:MYSEED,
> 'donald',
>
Fixed with José Pedro Silva Pinto comments.
Thanks
Lorenzo
On 12/7/05, Dan Klose <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2005-12-07 at 12:50 +0200, Lorenzo Caggioni wrote:
> > HI!!!
> Hi
> > i'm tring to use DBI module
> >
> > Here is the code
> >
> > #!/geneva/geneva/dev1/perl5/bin/perl
> > #
>
> "Xavier" == Xavier Noria <[EMAIL PROTECTED]> writes:
Xavier> package class2;
Xavier> use base 'class1';
Except of course, lowercase package names are reserved for pragmata.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
http://www.stonehenge.com/
Hi all,
I have a module which does nothing but include a bunch of use statements (Shawn
Corey, I think you taught me how to do that).It looks like this:
--
#PerlMQ.pm
use strict;
use warnings;
use statement1;
use st
[EMAIL PROTECTED] wrote:
In my script, I load the module by saying "use PerlMQ;". However, now I want to
load only certain use statements from the module depending on the parameter I
give it. For example, in my script, I want to say "use PerlMQ
qw(some_parameter)" in order to load the use stateme
[EMAIL PROTECTED] wrote:
> Hi all,
>
> I have a module which does nothing but include a bunch of use statements
> (Shawn
> Corey, I think you taught me how to do that).It looks like this:
>
> --
> #PerlMQ.pm
>
> use
Ken Farmer wrote:
> I have tried this question in a couple of other places but the answers are
> far above my current level of understanding of oop - which is the level of
> very interested newbie - real newbie. So here goes again.
>
> I make an empty (of data) perl object1 with an included m
Shawn Corey wrote:
> [EMAIL PROTECTED] wrote:
>
>> In my script, I load the module by saying "use PerlMQ;". However, now
>> I want to
>> load only certain use statements from the module depending on the
>> parameter I
>> give it. For example, in my script, I want to say "use PerlMQ
>> qw(some_para
Hello dears,
I have a file in row data format, which stores different terms (e.g.
genes) and look like:
ABH
HD
HDD
etc.
Then I have second file which looks like:
--
ID- 001 #ID number
TI- analysis of HD pa
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I have a module which does nothing but include a bunch of use statements
(Shawn
> Corey, I think you taught me how to do that).It looks like this:
>
> -
Todd W wrote:
[snip]
> you could do something like this:
>
> $ cat TestMod.pm
> use warnings;
> use strict;
>
> package TestMod;
>
> use Exporter;
>
> sub import {
> my $class = shift;
> foreach my $module ( @_ ) {
> require $module;
> }
> }
>
> 1;
>
> $ cat testrun.pl
> use warni
- Original Message -
From: "Andrej Kastrin" <[EMAIL PROTECTED]>
Newsgroups: perl.beginners
To: "Perl Beginners List"
Sent: Wednesday, December 07, 2005 12:00 PM
Subject: Extract text from file
Hello dears,
I have a file in row data format, which stores different terms (e.g.
genes)
"Wiggins d'Anconia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Todd W wrote:
>
> [snip]
>
> > you could do something like this:
> >
> > $ cat TestMod.pm
> > use warnings;
> > use strict;
> >
> > package TestMod;
> >
> > use Exporter;
> >
> > sub import {
> > my $class = shift;
Andrej Kastrin wrote:
Hello dears,
I have a file in row data format, which stores different terms (e.g.
genes) and look like:
ABH
HD
HDD
etc.
Then I have second file which looks like:
--
ID- 001 #ID number
Shawn Corey wrote:
Andrej Kastrin wrote:
Hello dears,
I have a file in row data format, which stores different terms (e.g.
genes) and look like:
ABH
HD
HDD
etc.
Then I have second file which looks like:
-
Chris Charley wrote:
- Original Message - From: "Andrej Kastrin"
<[EMAIL PROTECTED]>
Newsgroups: perl.beginners
To: "Perl Beginners List"
Sent: Wednesday, December 07, 2005 12:00 PM
Subject: Extract text from file
Hello dears,
I have a file in row data format, which stores differ
On Tue, 6 Dec 2005, John W. Krahn wrote:
> Because the null filehandle inside the readline operator ( <> ) has special
> magic which works together with the @ARGV array and the $^I scalar but does
> not work with ordinary filehandles.
>
> See the "I/O Operators" section of perlop.pod for an explan
Andrej Kastrin wrote:
and additional question: how does Perl know where are the input files
(while we only wrote: open (TERM, $file_terms) or die "Can't open...)?
It comes from the command line. The statements:
my $file_terms = shift;
my $file_medline = shift;
are a shorten version of:
Andrej Kastrin wrote:
I try your code; now I try to write each potential target in a record
tab separated, like:
TI- xx HD x AB- xxx HD x #record 1
TI- yy AB x AB- xxx AB x#record 2
etc...
So \t separated within record and \n separ
Thanks Shawn. But, in this case, how would we send a parameter to the module
from the calling script. The module can see the name of the calling script, but
I want to make my module available to other perl programmers, and let them have
the flexibility of deciding which use statements they want fro
[EMAIL PROTECTED] wrote:
Thanks Shawn. But, in this case, how would we send a parameter to the module
from the calling script. The module can see the name of the calling script, but
I want to make my module available to other perl programmers, and let them have
the flexibility of deciding which u
Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
See the other posters responses as well, but I think it might help if
you read through some docs on OOP programming, check out:
perldoc perlboot
perldoc perltoot
perldoc perltooc
And issuing,
perldoc perl
Thanks for the response, and the other res
Ken Farmer wrote:
>
> Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
>
> See the other posters responses as well, but I think it might help if
> you read through some docs on OOP programming, check out:
>
> perldoc perlboot
> perldoc perltoot
> perldoc perltooc
>
> And issuing,
>
> perldoc perl
Ken Farmer am Donnerstag, 8. Dezember 2005 02.28:
[...]
> I agree that I need a perl object book.
Not necessarily - it could even be better to buy a book that contains the OO
paradigmas independent from any programming language. The details of the
language (or the focus on implementation) cou
Hi,
I got a doubt how to develop an editor that can be used to modify files and
it has to provide movement of cursor from left to right or right.
thanks and regards,
Rajeev Kilaru
29 matches
Mail list logo