in reply to (Buzzcutbuddha - Formatting of question) - Re: one line programs
in thread one line programs

Sorry about that, this is the first time that I have used this site and I was not quite sure how to write in the code but I think that I got it now. Yeah, the code that I was trying to convert to a one-liner was
while(<>) { while(/A\s+HREF\s*=\s*"([^"]+)"/ig){ $foo{$1}=1; } } for(keys %foo){ print "<img src=\"$_\"><br>\n"; }
Thanks for your help.
  • Comment on Re: (Buzzcutbuddha - Formatting of question) - Re: one line programs
  • Download Code