Re: html tags and perl



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";`$@`'
.



Relevant Pages

  • html tags and perl
    ... I've got a perl script which is parsing a HTML file and printing a src text from a 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. ...
    (comp.lang.perl.misc)
  • including one html in another
    ... For obscure reasons, I want to "include" ... one html file in another in the same sense as you can use src= in a ... The tag seems like a likely candidate but the following ...
    (microsoft.public.inetsdk.html_authoring)
  • Text as SRC?
    ... Sorry for the newb-type question, ... in the the way you would use the <img src=> tag to ... but not need to delve into the actual html file to do so. ...
    (alt.html)
  • Re: Possible Payload inside PDF or HTML files
    ... its a matter of pointing in the src attribute of ... but only one question as erick@xxxxxxxxxx says, the tracking server ... >> Is there a way to know if exist a payload inside a PDF or HTML File, ... >> Chief Information Security Officer ...
    (Security-Basics)
  • Re: HTML HREFS - confused...
    ... There's no such thing as an HREF tag! ... my local development 'index.html' exists at... ... If the HTML file isn't in your project's root directory, ... BTW, I've used Microsoft Windows paths above for the local paths, but ...
    (alt.html)