]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
don't rely on $@
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 17 Dec 2008 23:56:32 +0000 (18:56 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 17 Dec 2008 23:56:32 +0000 (18:56 -0500)
commit9f141841efc80dbe7a3ef8cc8fbae102c9cd190b
tree2287620d276bf66b8c0685771a3741f8d801e341
parent140c0bacbadc35de93cc685313123e9e51b45704
don't rely on $@

A malformed pagespec will cause $@ to be set when translated, but if
it is used a second time, the memoization will defeat that check. Better to
check for the result not being defined.
IkiWiki.pm