in reply to This code snippet causes Perl to SEGV
No crash with Strawberry 5.16.1 on Windows 7 x64, just the aforementioned "X":
VinsWorldcom@C:\Users\VinsWorldcom\tmp> perl -v This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x +64-multi-thread Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 +source kit. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have acces +s to the Internet, point your browser at http://www.perl.org/, the Pe +rl Home Page. VinsWorldcom@C:\Users\VinsWorldcom\tmp> perl test.pl X
|
|---|