Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

A silly question about perl programming

Status
Not open for further replies.

vahidkh6222

Full Member level 2
Joined
Oct 11, 2005
Messages
137
Helped
6
Reputation
12
Reaction score
0
Trophy points
1,296
Activity points
2,419
Hello,

I need to undersrtand a piece of code written in perl language.
But I am stucked in the first line:

$| = 1;

What does this mean? is $| a variable initialised to 1? If yes, then why do we use this weird symbol as its name?!

thanks in advance
 

That means you enable autoflush. So any output to stdout gets output immediately, instead of some buffering.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top