in reply to rel="nofollow" tag syntax?

Don't try to put stuff into the href attribute when it should go into the rel attribute:

perl -MCGI=a -e "print a({-href=>'http://perlmonks.org',-rel=>'nofollo +w'},'PerlMonks')"

Replies are listed 'Best First'.
Re^2: rel="nofollow" tag syntax?
by Anonymous Monk on Apr 17, 2007 at 12:31 UTC
    Thanks Corion. Can you please tell me what -MCGI means? I tried putting your code in, but it just wiped out the link completely - obviously, I'm doing something wrong. Thanks again, -Bob

      corion is using a one-liner that is run through the Perl interpreter. So the -MCGI means to load the CGI module for this one-line program.

      The code was not meant to be placed wholly into your code, it is just a quick way of showing how that one-line should work.

        Thanks Herkum for the clarification. So then, there's no way to hack the code like I was trying to do? In order to insert the nofollow tag into the link, I have to use a module? Thanks again -Bob