RE: [Perl-unix-users] reading records in a file

2004-08-12 Thread Mehta, Perdeep
Thank you Mark for your suggestions and Bill for your clarification. Thanks a lot, perdeep Perdeep K. Mehta, PhD Hartwell Center for Bioinformatics & Biotechnology St. Jude Children's Research Hospital Memphis, TN 38105-2794 -Original Message- From: Thomas, Mark - BLS CTR [mailto:[EMAIL

RE: [Perl-unix-users] reading records in a file

2004-08-12 Thread Thomas, Mark - BLS CTR
Mehta, Perdeep wrote: > Super! this works. > > I have one question, what are those spaces in between when I > print as below, e.g. It looks like you don't need an array. If you want just one long string, replace push @{$hash{$acc}}, $line; with $hash{$acc} .= $line; - Mark. __

RE: [Perl-unix-users] cpan error with 2 different perl version onthesame machine - solved

2004-08-12 Thread Demaerel, Miguel
Hoi That was it. Thanks. Greetings Miguel / (o o) ==oOO==(_)==OOo== Miguel Demaerel System Engineer - SCSA Atos Origin Belgium GSM: 0498.90.54.17 Email [EMAIL PROTECTED] ===

RE: [Perl-unix-users] cpan error with 2 different perl version on thesame machine.

2004-08-12 Thread Demaerel, Miguel
Hoi This is the output @INC ##/usr/local/perl/bin#perl -e 'for (@INC) { printf "%d %s\n", $i++, $_}' 0 /usr/local/perl/lib/5.8.5/alpha-dec_osf 1 /usr/local/perl/lib/5.8.5 2 /usr/local/perl/lib/site_perl/5.8.5/alpha-dec_osf 3 /usr/local/perl/lib/site_perl/5.8.5 4 /usr/local/perl/lib/site_perl 5 . #

[Perl-unix-users] Extracting img tags and surrounding windows

2004-08-12 Thread Antonio Gulli
Ciao, I need to extract all the img tag from an html file and all "surrounding text", i mean a fixed window of plain text aroung each img tag. Suppose that i have a desired prefixed width for the window? Is there a way to do this using HTML::LinkExtor or HTML::SimpleLinkExtor, or do i have to us