[Bioperl-l] [Bioperl-guts-l] Notification: incoming/921

Hilmar Lapp hilmarl@yahoo.com
Fri, 09 Mar 2001 01:55:52 -0800


If there are no args, this results in an empty string being
provided as the value for -file, which results in STDIN being
used, so it waits for input on STDIN.

In general I don't think it's the task of the bioperl core to
check whether your program was supplied with the required number
of arguments. Interpreting an empty string as a request for STDIN
is very convenient for many applications.

	Hilmar

-------- Original Message --------
Subject: [Bioperl-guts-l] Notification: incoming/921
Date: Fri, 9 Mar 2001 01:55:07 -0500
From: bioperl-bugs@bioperl.org
To: bioperl-guts-l@bioperl.org

JitterBug notification

new message incoming/921

Message summary for PR#921
	From: yinchen@ucdavis.edu
	Subject: can't die
	Date: Fri, 9 Mar 2001 01:55:05 -0500
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From yinchen@ucdavis.edu Fri Mar  9 01:55:05 2001
Received: from localhost (localhost [127.0.0.1])
	by pw600a.bioperl.org (8.11.2/8.11.2) with ESMTP id f296t5221764
	for <bioperl-bugs@pw600a.bioperl.org>; Fri, 9 Mar 2001 01:55:05
-0500
Date: Fri, 9 Mar 2001 01:55:05 -0500
Message-Id: <200103090655.f296t5221764@pw600a.bioperl.org>
From: yinchen@ucdavis.edu
To: bioperl-bugs@bioperl.org
Subject: can't die

Full_Name: yin chen
Module: Bio::SeqIO
Version: 0.7.0
PerlVer: 5.6.0
OS: redhat linux 7.0
Submission from: iras-5-184.ucdavis.edu (169.237.12.184)


when execute without required parameters:

use Bio::SeqIO;

 $seqio = Bio::SeqIO->new (-file =>"$ARGV[0]" , -format =>
'Fasta') or die
"can't open sequence file";

system hang up.

But it works with required parameters.
In addition, it worked with bioperl 0.6.2


_______________________________________________
Bioperl-guts-l mailing list
Bioperl-guts-l@bioperl.org
http://bioperl.org/mailman/listinfo/bioperl-guts-l

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com