I have been working on converting files to a one-line explicit command line to the Perl interpreter but I have no idea how to do this one.
while(<>){ while(/A\s+HREF\s*=\s*"([^"]+)"/ig){ $foo{$1}=1; } } for(keys %foo){ print "<img src=\"$_\"><br>\n"; }
Edit 2001-04-16 by Corion : Added <CODE> tags
In reply to one line programs by lorenw14
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |