Hacker News new | ask | show | jobs
by 275qaz 2631 days ago
It's trying to divide "Illegal division by zero at /" by "tmp/quine.pl line 1." and "tmp/quine.pl line 1." evaluates to 0?
3 comments

It is slightly more complicated than that :-) https://fanf.dreamwidth.org/131318.html

the actual parse is

  division->Illegal(
    zero->by(
      ((“at” / “tmp”) / “quine”)
       . line->pl(1.0)
    ))
I think it's equivalent to something like

  Illegal::division(by::zero(at/tmp/quine . pl::line(1.)))
Or "quine.pl line 1." Evaluates to 0?

Or should that be 0.0???

Yeah, I think it's both divisions. Both 'perl -e "in /tmp"' and 'perl -e "tmp/quine"' result in the same division-by-zero error.