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

[MacPerl] BBEdit skips input



i get two different result depending on if i run the following script from
MacPerl or BBEdit 5.1. Any solution to this? when this is ran from MacPerl,
the scipt waits for input, from BBEdit the scripts does not wait for input

#!perl

print('Enter your name : ');
$input = <STDIN>;
chomp($input);
print ("iH $input");

# output running from BBEdit 5.1
# --> Enter your name : iH

# output running from Macperl
# --> Enter your name : hcir
#     iH hcir

--  hcir
mailto:g3pb@alaska.net



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