Actually, since system is called correctly, the shell won't be invoked and it'll be the real echo(1) which only parses the -n option (AFAIK). Anyway, it's better to use something like printf(1) since it tends not to have surprising behaviour:
system('printf', '%s', $link);