hi to all,
I've got a weird problem using an external program that get the input from "stardard
input"
I've got to call it (and easily do this with "system('myprogramname')" but I've to
feed this
program with an XML file that generally is passed via standard input with a "filename |
myprogramna
Hi guys,
I have a problem with a Regular expression.
I have to delete from a text all HTML tags but not the DIV one (keeping all the
parameters in the
tag).
I've done this:
^^
#!/usr/bin/perl
use strict;
my $test=<
=SU
Hi guyz,
this regex are goin' to drive me crazy!
My problem is:
I have to find URLs in a text file (so, cannot use LWP or HTML parser)
I've tried with something like
/(http.:\/\/.*\s)/
willing to find anything starting with http/https with "//:" and catching everything
up to a space
or newli
Hi to all,
I'm having bad times trying to solve this problem.
I've to read from a Webserver-logfile some text indicating what page have been
visited, and
tracking the querystring parameters.
The problem is that in the logfile special chars are traslated in "web safe" format as
you can see
belo
Hi to all,
I need to parse javascript into web pages to substitute all relative addresses to
absolute ones.
I do this job in the HTML using LWP but I'm having bad times trying to do it into
javascript
contained in the page.
Can anyone help me?
Frank
__
Do you
Hi Paul,
your question is not so easy to reply...but I'll try.
The difference between the PHP and the Perl could sound as the difference between ASP
and
VisualBasic.
While ASP il interpreted by the WEB-Server itself, so you can mix-up HTML code with
your ASP code,
Visual Basic is a 'stand alon
In your shoes I would use MySQL.
It is very fast and lightweight and free, but you cannot do any DB-side process...so
you can't
develop multi-tier application.
On the other hand you can try Postgree SQL...free too.
Francesco
--- Rob Dixon <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> This really b
GD::Graph
Francesco
--- jdavis <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to make a bar graph, in a png or jpg format. Could
> someone suggest a good perl moduel to help me.
>
> Thanks,
> --
> jd
> [EMAIL PROTECTED]
>
> Bad spellers of the world untie!
>
> "I can't tell if I have w
I would like to convert an HTML document into an image file
Is there any possibility to do this with perl? Do you have any idea how to do it or
some library
useful to that?
tnx
Frank
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madne
I'm not an expert in Perl, and I matched the same kind of problems few days ago.
Here you have some suggestion:
1 - Try to run it as simple perl program in the shell (# perl hello.pl) and check for
errors or
strange output.
2 - Go in the log directory of Apache (etc/httpd/logs) and check the er
--- Rob Dixon <[EMAIL PROTECTED]> wrote:
> Hi Frank.
>
> We can only speculate as to what your problem may be
> until we know a little more about your script. Can you post
> an extract of what you think is the relevant area?
>
> Cheers,
>
> Rob
Hi Rob...here you have the code:
==
how can I print the today date (DD MM YY HH MM SS) in epoch format?
Frank
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
I wrote a small program accessing a Mysql database.
All works fine when I run it from shell, but when I try to use it as CGI using apache
2.0 I'm
having this kind of trouble:
when he access to the database, looks like he append to the user name the domain...so
if all works
properly from shell w
Sorry for boring you, but even copying and pasting the source you gave me I obtain the
same error
:-((
Any help?
Francesco
--- Bob Showalter <[EMAIL PROTECTED]> wrote:
> Francesco del Vecchio wrote:
> > I'm new to apache and linux.
> >
> > I'm trying to
r missing the header. See 'perldoc CGI'.
>
> #!/usr/bin/perl -w
>
> use strict; # Highly recommended!
> use CGI qw(:standard);
>
> print header;
> print start_html;
> print "Hello world!\n";
> print end_html;
>
> Mar 14, 2003 at 8:16am
iGuard Engineer
> 11415 West Bernardo Court
> San Diego, CA 92127
> 1-858-676-2277 x2152
>
>
> > -Original Message-
> > From: Francesco del Vecchio [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 14, 2003 8:16 AM
> > To: [EMAIL PROTECTED]
> &
I'm new to apache and linux.
I'm trying to run the "Hello World" cgi that works perfectly from terminal but via
WebServer I
obtain this error:
[Fri Mar 14 17:03:11 2003] [error] [client 127.0.0.1] Premature end of script headers:
hello.pl
Do you have any idea about it?
the source is the follo
Is there a perl Editor for linux? (except EMACS)
Francesco
__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
I have this string:
I would like to replace the background adding the absolutepath. So I write this code
$tosubstitute = url($4,$baseurl)->abs->as_string;
$tosubstitute =qq($tosubstitute);
$line =~ s{background(\s?)(=?)(\"?)(.*?)(\"?)\s}{background=$tosubstitute }i;
checking the $tosubstitute
HTML::Parser
you can find it here
http://www.perldoc.com/perl5.8.0/lib/HTML/Parser.html
Francesco
--- learn perl <[EMAIL PROTECTED]> wrote:
> Hi guys, is there Modules that would read an html file? or handles html
> file?
>
> Thanks
>
> Eric
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTE
I'm writing a program that get an HTML document and must modify it on the fly...for
example
changing images o links.
I suppose I have to use the HTML::Parser to do this job...and in fact I have no
problem reading
all the tags and the parameters.
The problem came when I want to change this parame
how can I, as afficiently as I can, drop duplicated values from an array?
tnx
Francesco
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
u.
Tnx for your interest
Francesco
--- Rob Dixon <[EMAIL PROTECTED]> wrote:
> Francesco Del Vecchio wrote:
> > I have a little problem with my pattern matching
> >
> > I need to find a string into the text but I have to be sure that this
> > is not part of a known b
I have a little problem with my pattern matching
I need to find a string into the text but I have to be sure that this is not part of a
known
bigger string.
Example:
I need to find: /img/giallo.gif
but I have to be sure this is not: http://www.html.it/img/giallo.gif
notice that the string to f
First, I'm really sorry...I didn't want to send you a personal email...I pushed Reply
instead of
Reply All
Second, Scott...you are great!...I solved my problem with your suggestion. Thank a
lot...this is a
great mailing list!!!
--- "Scott R. Godin" <[EMAIL PROTECTED]> wrote:
> Two things:
>
>
suppose this:
==
$string 'I saw Roger and I said :roger? what the @*$!';
$var1 = "roger? what the @*$!";
$var2 = "Hi roger...nice to meet you";
$string=~ s/$var1/$var2/;
===
I'm having problemsdue (i suppose) to the spec
Maybe I can explain better showing you the real problem.
I have an HTML form and I'm parsing it looking for tags
When I find one I need to catch the "ACTION" value.
i.e.
http://www.somedomain.com method=post>
I need to catch "http://www.somedomain.com";. Obiouvsly the "method" can also not t
Here I am again ^_^
thanks a lot for the previous answers...they solved my problem.
I have another problem of the same kind...let me explain:
=
String " bb=somestuff someotherstuff"
I don't know what "somestuff" and "someotherstuff" are...I only kn
Hi to all,
Im new to the list and to the Perl too...and I've some problems with pattern matching.
from a string of this kind:
that can have none or more parameter (as color) I would like to estract th 'kiwpg'
value.
How can I do?
=
another problem
If I have a string
29 matches
Mail list logo