Re: perl6storm #0011: interactive perl mode

2000-09-26 Thread Nicola Meade

Russ, you can use "perl -" to punch/paste into that window.
But "foo | perl" would not be affected as you would not
be running interactively.  Essentially, only if there
are no arguments and stdin (and stdout) areatty would you
do that.

--tom, posting blind

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




Re: perl6storm #0011: interactive perl mode

2000-09-23 Thread Russ Allbery

Philip Newton [EMAIL PROTECTED] writes:
 On Thu, 21 Sep 2000, Tom Christiansen wrote:

 =item perl6storm #0011

 perl w/o args with stdin and out ttys should be perl -de 0.
 saves novices from typing "perlCR" and getting confuddled.

 I think it should print out a banner message, too.

 A couple of times I was wondering whether perl was installed on a
 machine and typed 'perl' to see -- and "nothing happened". (I suppose
 either of `which perl` or `perl -v` would be a better way to find out,
 but still.)

 Having Perl tell me 'this is perl5.7.0\n ' or similar would have been
 nice. But that's just me.

As long as it's possible to get the current "perl" behavior; I actually
use that a lot.

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/