in reply to Re: Confused when reading Input within Perl and Shell Scripts
in thread Confused when reading Input within Perl and Shell Scripts
Thank you. Initially I want to provide a txt file with the filenames, for example, DsspCodes.txt:
2bx2.dssp 3cob.dssp 1nwn.dssp
Based on your comments and my novice use of perl, I have modified the code to:
use strict; use warnings; use Bio::Structure::SecStr::DSSP::Res; my @filenames; for my $filename (@filenames) { open my $dsspIn, '<', $filename or die "Unable to open $filename: $!\n +"; #Create a new DSSP object my $dssp_obj = Bio::Structure::SecStr::DSSP::Res->new ('-file'=> $dssp +In); .... close dsspIn; }
But if call in the commandline:
DSSP_output.pl DsspCodes.txtI don't get any errors but I also don't get any output??
Thanks for your patience as I learn this..
InfoSeeker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Confused when reading Input within Perl and Shell Scripts
by GrandFather (Saint) on Nov 16, 2008 at 23:28 UTC |