table width=95% border=0 cellspacing=0 cellpadding=0
tr
tdTste/td
tdTste/td
/tr
tr
tdTste/td
tdTste/td
/tr
/table
Hi,
you can print them like:
print HTML_EOF;
table width=95% border=0 cellspacing=0 cellpadding=0
..
HTML_EOF
(notice:there should be no
[EMAIL PROTECTED] wrote:
:
: I tried with this way, but not work:
One reason for the problem is that perl does not recognize
and as operators. The print statement needs some type of
delimiter to print plain text.
As you probably know already, a pair of double quotes ()
is one set of
Ashok Varma schreef:
--
---
open(FH, /your/file/path);
my @file = FH;
close FH;
open(FH, /your/new/file);
foreach my $line (@file) {
Since you are processing the file line-by-line, you'd better use
while-on-the-file.
Check out this web page,
http://www.developer.com/lang/other/article.php/3454041. It has examples
that return link and tags using WWW::Mechanize, which is a subset of LWP.
-Eric
Hal Wigoda wrote:
anyone have any code that will return the links and tags from web
document
downloaded using
Hi All
I need print HTML codes with perl:
table width=95% border=0 cellspacing=0 cellpadding=0
tr
tdTste/td
tdTste/td
/tr
tr
tdTste/td
tdTste/td
/tr
/table
I tried with this way, but not work:
print MAPA table width=95% border=0 cellspacing=0
On 9/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi All
I need print HTML codes with perl:
table width=95% border=0 cellspacing=0 cellpadding=0
tr
tdTste/td
tdTste/td
/tr
tr
tdTste/td
tdTste/td
/tr
/table
I tried with this way, but not work:
--- John W. Krahn [EMAIL PROTECTED] wrote:
chen li wrote:
--- John W. Krahn [EMAIL PROTECTED] wrote:
chen li wrote:
Sorry to bother again. I get an AoA containing
empty
elements like these:
my @data=(
[1,1,1],
[2,2,2],
[],
David, i used the Charles's tips (with ' delimiter) and now it works.
Thanks all.
Adilson
David Van Ginneken wrote:
On 9/4/06, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]*
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Hi All
I need print HTML codes with perl:
table
chen li am Montag, 4. September 2006 15:51:
--- John W. Krahn [EMAIL PROTECTED] wrote:
chen li wrote:
--- John W. Krahn [EMAIL PROTECTED] wrote:
[...]
my @data=(
['1','1','1'],
['2','2','2'],
[''],
['3','3','3'],
['']
the code on page 3 looks like it might be very helpful.
On Sep 4, 2006, at 7:07 AM, Eric Krause wrote:
Check out this web page, http://www.developer.com/lang/other/
article.php/3454041. It has examples that return link and tags
using WWW::Mechanize, which is a subset of LWP.
-Eric
Hal
I have a regular expression that is suppose to truncate long URLs at 50
characters and add ..., but can't figure out why it is not working with a
particular URL.
Here is the regex:
$url =~s#((?:http\|ftp\|file)://.{50}).+/a#$1.../a#g;
And here is the problem URL:
a
Chris,
I found your solution to work alright, with the exception that you
probably don't want to escape | as in
(?:http\|ftp\|file)
but only
(?:http|ftp|file)
So that the test script below succeeds:
use Test::More tests = 3;
{
my $url = ahttp://foo.org//a;
$url
At 08:34 AM 9/3/2006, you wrote:
my @data = map [ split ] = split /\r?\n/,
param('data');
Thanks and I like this syntax. But where can I find
this syntax perldoc?
http://learn.perl.org/beginners-faq #2.7.
Please post all questions to the group, not privately. Thanks.
--
Peter Scott
At 10:58 AM 9/3/2006, you wrote:
my @data = map [ split ] = split /\r?\n/,
param('data');
Hi Peter,
Sorry to bother again. What if I have some lines
containing nothing(blank lines) and how do I remove
these lines before using the map function?
I try chomp $data but it doesn't work.
my
[sorry to all for not snipping the mail]
D. Bolliger am Montag, 4. September 2006 03:57:
Geetha Weerasooriya am Sonntag, 3. September 2006 16:22:
Dear Mr.Dani,
Thank you very much for the reply. I understand that but question is
not clear. I will explain my problem little more.
John W. Krahn wrote:
chen li wrote:
--- John W. Krahn [EMAIL PROTECTED] wrote:
chen li wrote:
Sorry to bother again. I get an AoA containing
empty
elements like these:
my @data=(
[1,1,1],
[2,2,2],
[],
[3,3,3],
[]
);
How can I
Since this is not a dbi problem, can DBI-Users be taken off the cc list.
On Mon, 2006-09-04 at 08:07 -0400, Eric Krause wrote:
Check out this web page,
http://www.developer.com/lang/other/article.php/3454041. It has examples
that return link and tags using WWW::Mechanize, which is a
17 matches
Mail list logo