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: Beginner: Re: [regex2012] pattern with join hangs when printing: Edit Log



FishMonger
Veteran / Moderator

Dec 19, 2016, 9:26 AM


Views: 6052
Re: [regex2012] pattern with join hangs when printing

This statement might be where it's hanging.

Code
print "This is @bfilearr";


Since the last element in the array does not contain a line terminator, you are probably "suffering from buffering". Turn of buffering by adding this above that code.

Code
$|++;

or add a line terminator to the statement.

Code
print "This is @bfilearr\n";



(This post was edited by FishMonger on Dec 19, 2016, 9:29 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Dec 19, 2016, 9:28 AM
Post edited by FishMonger (Veteran) on Dec 19, 2016, 9:29 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