Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Perl
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Perl section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 14th, 2016, 11:14 AM
Registered User
Join Date: Jan 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning Perl book: NaN vs 0

In chapter 2, code string4.plx the output given for the code

use warnings;
print "Ba". "na"x4*3, "\n";
print "Ba". "na"x(4*3), "\n";


but running this on Strawberry Perl 5.22.2 for Windows 10 gives


What's changed from the Perl point of view?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning Perl Book Capture::Tiny Question NeilH Perl 1 January 6th, 2016 11:54 AM
NaN... is it in the book? rebman BOOK: Beginning HTML, XHTML, CSS, and JavaScript 4 July 22nd, 2010 09:25 PM
Beginning Perl toma All Other Wrox Books 6 August 10th, 2005 11:22 AM
what's download code for book "Beginning perl"? Richard2005 Forum and Wrox.com Feedback 2 February 16th, 2004 08:52 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.