in reply to Re^6: rel="nofollow" tag syntax?
in thread rel="nofollow" tag syntax?

Hashes like that { -href => ..., -rel => ...} construct are unsorted. You can't rely on any specific order.

Thankfully, HTML is the same in this regard. the order of attributes doesn't matter, so <a rel="nofollow" href="http://www.example.com/">http://www.example.com/</a> is completely equivalent to <a href="http://www.example.com/" rel="nofollow">http://www.example.com/</a>

Replies are listed 'Best First'.
Re^8: rel="nofollow" tag syntax?
by bobafifi (Beadle) on Apr 21, 2007 at 14:37 UTC
    Still not getting this :-|
    Is there a way that I can modify the line
    $page_link = a ({-href => "$val[5]"}, $linktext); without using the print function at this point in the script? Something like this perhaps? (but that works ;-)
    $page_link = a({-href => $val[5], -rel => 'nofollow'}, $linktext);


    Thanks,
    -Bob

    bobafifi.com