R
robin
print "Sleep\n"; #string with newline
sleep 1;
print "Sleep"; #string without newline
sleep 1;
# in the first example, everything is fine and dandy.
#
# in the second example perl appears to be sleeping before executing
the second print command to print "sleep" without the newline.
#is this a bug in perl or something I'm just missing?
#robin
#[email protected]
sleep 1;
print "Sleep"; #string without newline
sleep 1;
# in the first example, everything is fine and dandy.
#
# in the second example perl appears to be sleeping before executing
the second print command to print "sleep" without the newline.
#is this a bug in perl or something I'm just missing?
#robin
#[email protected]