RE: how to print certain field out

2012-06-08 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Chris Stinemetz [mailto:chrisstinem...@gmail.com] >Sent: Friday, June 08, 2012 14:58 >To: lina >Cc: beginners@perl.org >Subject: Re: how to print certain field out > >On Fri, Jun 8, 2012 at 11:44 AM, lina wrote: >> On Sat, Jun 9, 2012 at 12:16 AM, lina wrote: >>

Re: how to print certain field out

2012-06-08 Thread Chris Stinemetz
On Fri, Jun 8, 2012 at 11:44 AM, lina wrote: > On Sat, Jun 9, 2012 at 12:16 AM, lina wrote: >> Hi, >> >> Here is the to-be-processed file, >> >> $ more try >>  #  RESIDUE AA STRUCTURE BP1 BP2  ACC     N-H-->O    O-->H-N >> N-H-->O    O-->H-N    TCO  KAPPA ALPHA  PHI   PSI    X-CA   Y-CA >> Z-CA >

Re: Unfamiliar calling of a subroutine

2012-06-08 Thread sono-io
On Jun 7, 2012, at 10:19 PM, Brock wrote: > Finally to your last question, how is this different than just calling the > package::sub directly? With a method call the instance variable, in this case > $catalog, always gets passed as the first parameter to the method. Usually > people name it $s

Re: how to print certain field out

2012-06-08 Thread Jim Gibson
On Jun 8, 2012, at 9:16 AM, lina wrote: > Hi, > > Here is the to-be-processed file, > > $ more try > # RESIDUE AA STRUCTURE BP1 BP2 ACC N-H-->OO-->H-N > N-H-->OO-->H-NTCO KAPPA ALPHA PHI PSIX-CA Y-CA > Z-CA >1 174 V 0 00 0, 0.0 2,-

Re: how to print certain field out

2012-06-08 Thread Rob Dixon
On 08/06/2012 17:16, lina wrote: Hi, Here is the to-be-processed file, $ more try # RESIDUE AA STRUCTURE BP1 BP2 ACC N-H-->OO-->H-N N-H-->OO-->H-NTCO KAPPA ALPHA PHI PSIX-CA Y-CA Z-CA 1 174 V 0 00 0, 0.0 2,-0.3 0, 0.0 0,

Re: how to print certain field out

2012-06-08 Thread lina
On Sat, Jun 9, 2012 at 12:16 AM, lina wrote: > Hi, > > Here is the to-be-processed file, > > $ more try >  #  RESIDUE AA STRUCTURE BP1 BP2  ACC     N-H-->O    O-->H-N > N-H-->O    O-->H-N    TCO  KAPPA ALPHA  PHI   PSI    X-CA   Y-CA > Z-CA >    1  174   V              0   0    0      0, 0.0     2

how to print certain field out

2012-06-08 Thread lina
Hi, Here is the to-be-processed file, $ more try # RESIDUE AA STRUCTURE BP1 BP2 ACC N-H-->OO-->H-N N-H-->OO-->H-NTCO KAPPA ALPHA PHI PSIX-CA Y-CA Z-CA 1 174 V 0 00 0, 0.0 2,-0.3 0, 0.0 0, 0.0 0.000 360.0 360.0 360.0 137.8

Re: Working with Perl DBI

2012-06-08 Thread John SJ Anderson
On Friday, June 8, 2012 at 6:49 AM, Dmitry Korzhevin wrote: What makes you think it's not working? Yes, you are getting this warning: > DBI::db=HASH(0x1e40ae0)->disconnect invalidates 1 active statement > > handle (either destroy statement handles or call finish on them before > disconnecting) a

Working with Perl DBI

2012-06-08 Thread Dmitry Korzhevin
Hello guys, Please help me with debugging of following script: #!/usr/bin/perl use strict; use warnings; use DBI; my $dbh = DBI->connect('DBI:mysql:exim_mx1', 'root', 'PASSWORD') || die "Could not connect to database: $DBI::errstr"; my $sth = $dbh->prepare('SELECT * FROM blackuser WHERE id=160

Re: Spreadsheet::ParseExcel problem

2012-06-08 Thread rbm
On Jun 7, 3:56 pm, jimsgib...@gmail.com (Jim Gibson) wrote: > On Jun 6, 2012, at 11:06 PM, rbm wrote: > > > > > > > > > > > On Jun 7, 12:16 am, jimsgib...@gmail.com (Jim Gibson) wrote: > > > I am able to get the methods to return one worksheet or all the > > worksheets in my workbook but I am unabl