in reply to Problems with eval

It's also worth pointing out that

Finally, you're almost certainly better of using the system function (see perlamn:perlfunc), as Aristotle suggest's, but don't be confused by the => ! This is colloqually known as 'the fat comma', and when used as Aristotle has, it is simply equivalent to a comma, and is used here rather than a comma simply for emphasis. I point this out as I spent several hours searching the docs trying to find out what it meant when I first encountered it in a reply to one of my questions.


Well It's better than the Abottoire, but Yorkshire!

Replies are listed 'Best First'.
Re^2: Problems with eval
by Aristotle (Chancellor) on Sep 07, 2002 at 00:06 UTC
    Actually I despise using it purely for emphasis outside hash assignments when the left side is not an autoquoted bareword. :-) In this case I could have written '-xml', $inputfile, '-pdf', $outputfile but that's a lot more line noise IMHO. I hate seeing it used like push @array => $scalar; though which I've occasionally seen here.

    Makeshifts last the longest.

      Nods! I think it was a use close to that had me running in mental circles for a couple for hours when I first started.


      Well It's better than the Abottoire, but Yorkshire!