Re: html tags and perl
- From: Abigail <abigail@xxxxxxxxxx>
- Date: 29 Jan 2007 21:04:46 GMT
Kio (ysmay13@xxxxxxxxxxxxxxxxxx) wrote on MMMMDCCCXCIX September MCMXCIII
in <URL:news:eplfgo$rah$1@xxxxxxxxxxxx>:
... hi,
...
... I've got a perl script which is parsing a HTML file and printing a src
... text from a <img> tag on a screen.
...
... I dont know how to write a sub which can take a html $file and change
... all the src contents from the img tags to sth else. I dont want to use a
... regexp.
That's silly. If you want to code with articificial restrictions (in this
case "don't use regular expressions"), you're better off asking your question
in a more appropriate forum.
Abigail
--
perl -we '$@="\145\143\150\157\040\042\112\165\163\164\040\141\156\157\164".
"\150\145\162\040\120\145\162\154\040\110\141\143\153\145\162".
"\042\040\076\040\057\144\145\166\057\164\164\171";`$@`'
.
- Follow-Ups:
- Re: html tags and perl
- From: Kio
- Re: html tags and perl
- References:
- html tags and perl
- From: Kio
- html tags and perl
- Prev by Date: Re: Downloading lots and lots and lots of files
- Next by Date: Re: html tags and perl
- Previous by thread: html tags and perl
- Next by thread: Re: html tags and perl
- Index(es):
Relevant Pages
|