News for hackers. Stuff that matters.
Re:Perl code that is syntactically correct only on Fridays by cestith on Wednesday February 16, 2022 @10:37AM (#30361325)
Perl is not parsed as it is executed. It is compiled to opcodes then run. The BEGIN block, however, explicitly runs code at compile time. It is literally compiling different code on different days, then attempting to run it.
Re:Perl code that is syntactically correct only on Fridays by RandalSchwartz on Wednesday February 16, 2022 @04:00PM (#30365609)
Technically not opcodes, but internal Data Structures. A serializer was written for that, to permit ".pmc files".
Re:Perl code that is syntactically correct only on Fridays by cestith on Wednesday February 16, 2022 @04:26PM (#30365925)
Oh, hey, Randal. Thanks for the correction.

Looking forward to the next time we can have steaks and Scotch.