in reply to How to kill perl?
Kill Perl Golf:
If you swap the less then sign, it's just a syntax error:$ perl -e '/(?{<})/' panic: top_env
(Reason: anything that might be the start of a quoted construct inside (?{}), but isn't followed by one panics perl. (?{'}), (?{"}), (?{`}), (?{<}), (?{/}), (?{?}), (?{q}), (?{m}) and (?{s}) all panic perl. Other single charactes seem to do ok (although I didn't check all of them).$ perl -e '/(?{>})/' syntax error at (re_eval 1) line 1, near ">" Compilation failed in regexp at -e line 1.
Perl --((8:>*
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to kill perl?
by robin (Chaplain) on Nov 07, 2005 at 10:58 UTC | |
by QM (Parson) on Dec 10, 2005 at 15:54 UTC |
In Section
Meditations