[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] \a \new question



This script gives an alert sound every second

        #!perl -w
        for $_ (1..8){
          print "\a\n";
          sleep 1;
        }

but if I omit the newline (print "\a") or add any other string not 
including a newline, the seconds and the bells are all added together 
and executed at once after 8 seconds.

Why is this?

J


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org