CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [FishMonger] strange warning: Edit Log



digioleg54
User

Sep 6, 2016, 9:35 AM


Views: 8700
Re: [FishMonger] strange warning


Code
#!/usr/bin/perl 
use warnings;
use strict;

my $num = 5;
my $a = <<'_END_';

This is the first line
The number is $num
This is the last line
_END_
print "[$a]\n";

################

Code
#!/usr/bin/perl 
use warnings;
use strict;

my $num = 5;
my $a = <<"_END_';

This is the first line
The number is $num
This is the last line
_END_
print "[$a]\n";


The same warning


(This post was edited by FishMonger on Sep 6, 2016, 9:38 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Sep 6, 2016, 9:37 AM
Post edited by FishMonger (Veteran) on Sep 6, 2016, 9:38 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives