in reply to Re^4: how do I "initialize" $_ (updated)
in thread how do I "initialize" $_
And I found out that Perl has changed how it deals with <DATA>.C:\Users\mmtho\Documents\PerlProjects>perl -v This is perl 5, version 24, subversion 3 (v5.24.3) built for MSWin32-x +64-multi-thread (with 1 registered patch, see perl -V for more detail) ...
#!/usr/bin/perl use strict; use warnings; while (my $line = <DATA>) { print $line; } __DATA__ aBC XYAS
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: how do I "initialize" $_
by AnomalousMonk (Archbishop) on Oct 13, 2018 at 06:21 UTC | |
by Marshall (Canon) on Oct 13, 2018 at 09:51 UTC |