RE: printing 10 scalers/elements

2004-07-13 Thread Charles K. Clarkson
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: : : "Charles K. Clarkson" <[EMAIL PROTECTED]> wrote : : All, : : Could you please explain line by line what this code : is doing below from Charles? Sorry it took so long. I must have missed this one. : : use strict; : : use warnings; : : : : use

RE: printing 10 scalers/elements PLEASE DISREGARD and IGNORE. My Apologies. I have to redo my code.

2004-07-08 Thread DBSMITH
Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams 614-566-4145

RE: printing 10 scalers/elements

2004-07-08 Thread DBSMITH
x27;Derek Smith <[EMAIL PROTECTED]>', Subject => "Eject list is greater than 40", Data=> "@ejectapes" ); $msg->send; } close (FILE); Thank you, derek "Charles K. Clarkson" <[EMAIL PROTEC

Re: printing 10 scalers/elements

2004-07-01 Thread John W . Krahn
On Thursday 01 July 2004 15:57, John W. Krahn wrote: > > On Thursday 01 July 2004 05:48, [EMAIL PROTECTED] wrote: > > > > I am trying to figure out how to print 8 scalers/elements then \n, > > then 5 more lines of 8 or less for a max total of 40 Here is my > > code: > > > > print FILEOUT "eject 0,

Re: printing 10 scalers/elements

2004-07-01 Thread John W . Krahn
On Thursday 01 July 2004 05:48, [EMAIL PROTECTED] wrote: > > I am trying to figure out how to print 8 scalers/elements then \n, > then 5 more lines of 8 or less for a max total of 40 Here is my > code: > > print FILEOUT "eject 0,0,0 "; > my $count = `wc -l <$ejectapes`; > > if ($count <= 40 ) { >

RE: printing 10 scalers/elements

2004-07-01 Thread Charles K. Clarkson
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: : I am trying to figure out how to print 8 scalers/elements : then \n, then 5 more lines of 8 or less for a max total : of 40 Here is my code: : : print FILEOUT "eject 0,0,0 "; : my $count = `wc -l <$ejectapes`; [snip] How about: use strict; u

RE: printing 10 scalers/elements

2004-07-01 Thread christopher . l . hood
Ok well that might be what you are looking for, but also check out format, link below: http://www-cgi.cs.cmu.edu/Web/People/rgs/pl-format.html or perldoc perlform It should be an easy matter to format your output to however many columns you want. Chris Hood Chris Hood Investigator Verizon

Re: printing 10 scalers/elements

2004-07-01 Thread Gunnar Hjalmarsson
[EMAIL PROTECTED] wrote: I am trying to figure out how to print 8 scalers/elements then \n, then 5 more lines of 8 or less for a max total of 40 Here is my code: print FILEOUT "eject 0,0,0 "; my $count = `wc -l <$ejectapes`; One idea: my @elem = split ' ', $count; @elem = splice @elem, 0,