Re: read and write

2012-03-05 Thread Rob Dixon
On 06/03/2012 04:47, lina wrote: On Tue, Mar 6, 2012 at 12:23 PM, Rob Dixon wrote: Lina the code you have shown doesn't produce that warning. If you still need help then please post your current code. Thank you. it's weird. #!/usr/bin/env perl use strict; use warnings; use File::Spec; use Fi

Re: FH as a value from a list

2012-03-05 Thread Rob Dixon
On 05/03/2012 18:34, Lancashire, Pete wrote: > my brain this morning is blocked on this one > > I have a file something like > > cpu01 value value value > cpu02 value value value > cpu03 value value value > ... > cpu01 value value value > cpu02 value value value > cpu03 value value value >

Re: read and write

2012-03-05 Thread lina
On Tue, Mar 6, 2012 at 12:23 PM, Rob Dixon wrote: > Lina the code you have shown doesn't produce that warning. If you still > need help then please post your current code. Thank you. it's weird. #!/usr/bin/env perl use strict; use warnings; use File::Spec; use File::Basename; my $INPUTFILE = $A

Re: read and write

2012-03-05 Thread Rob Dixon
Lina the code you have shown doesn't produce that warning. If you still need help then please post your current code. Rob On 06/03/2012 03:55, lina wrote: $ perl extract_v2.pl try.tex Useless use of a constant (<) in void context at extract_v2.pl line 25. Useless use of private variable in voi

read and write

2012-03-05 Thread lina
$ perl extract_v2.pl try.tex Useless use of a constant (<) in void context at extract_v2.pl line 25. Useless use of private variable in void context at extract_v2.pl line 25. metabolism toxic2 toxic4 #!/usr/bin/env perl use strict; use warnings; use File::Spec; use File::Basename; my $INPUTFILE

Re: Learning perl

2012-03-05 Thread lina
Thanks for all of you. I will take time to do those things. Best wishes, lina -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Learning perl

2012-03-05 Thread David Christensen
On 03/05/2012 07:19 AM, lina wrote: Which books are the best perl books you have ever read? 1. Learning Perl -- this book gets you up the initial learning curve. Read it cover to cover, enter and play with the example code, and do the exercises: http://shop.oreilly.com/product/063692001

Re: Learning perl

2012-03-05 Thread Shawn H Corey
On 12-03-05 10:19 AM, lina wrote: Which books are the best perl books you have ever read? The latest version of Modern Perl has just come out. http://www.onyxneon.com/books/modern_perl/index.html -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization

Re: Learning perl

2012-03-05 Thread Shlomi Fish
Hi Rob, a few small corrections. On Mon, 5 Mar 2012 17:32:12 +0100 Rob Coops wrote: > On Mon, Mar 5, 2012 at 4:35 PM, Shawn H Corey wrote: > > > On 12-03-05 10:19 AM, lina wrote: > > > >> Is the books wrote before 2006 a bit older, are there much changes in > >> the last 10 years for perl? >

Re: FH as a value from a list

2012-03-05 Thread Jim Gibson
On 3/5/12 Mon Mar 5, 2012 10:34 AM, "Lancashire, Pete" scribbled: > my brain this morning is blocked on this one > > I have a file something like > > cpu01 value value value > cpu02 value value value > cpu03 value value value > ... > cpu01 value value value > cpu02 value value value > cp

FH as a value from a list

2012-03-05 Thread Lancashire, Pete
my brain this morning is blocked on this one I have a file something like cpu01 value value value cpu02 value value value cpu03 value value value ... cpu01 value value value cpu02 value value value cpu03 value value value ... cpu01 value value value cpu02 value value value cpu03 value va

Re: Learning perl

2012-03-05 Thread Mike Burns
On Mon, Mar 5, 2012 at 12:22 PM, Mike Burns wrote: > On Mon, Mar 5, 2012 at 10:19 AM, lina wrote: > >> Hi, >> >> Which books are the best perl books you have ever read? >> >> How did you start learning perl? >> >> Is the books wrote before 2006 a bit older, are there much changes in >> the last 1

Re: Learning perl

2012-03-05 Thread Rob Coops
On Mon, Mar 5, 2012 at 4:35 PM, Shawn H Corey wrote: > On 12-03-05 10:19 AM, lina wrote: > >> Is the books wrote before 2006 a bit older, are there much changes in >> the last 10 years for perl? >> > > All changes to Perl are available via perldoc. > > `perldoc perl` and search for /delta/. > > `

Re: Learning perl

2012-03-05 Thread Shawn H Corey
On 12-03-05 10:19 AM, lina wrote: Is the books wrote before 2006 a bit older, are there much changes in the last 10 years for perl? All changes to Perl are available via perldoc. `perldoc perl` and search for /delta/. `perldoc pelrdelta` gives the latest. -- Just my 0.0002 million dolla

Learning perl

2012-03-05 Thread lina
Hi, Which books are the best perl books you have ever read? How did you start learning perl? Is the books wrote before 2006 a bit older, are there much changes in the last 10 years for perl? I am keen to learning it, but so clumsy, Thanks with best regards, -- To unsubscribe, e-mail: beginne

Re: PDL

2012-03-05 Thread Dermot
On 4 March 2012 23:03, Patrick Dupre wrote: > Hello, > > After an upgrade from fedora 13 to fedora 14, my application fails > with: > PDL::LinearAlgebra::Real needs to be recompiled against the newly installed > PDL at /usr/lib64/perl5/DynaLoader.pm line 223 > > I just reinstall perl::LinearAlgebr

Re: Can recursion eliminate nested foreach() loops?

2012-03-05 Thread Dr.Ruud
On 2012-02-27 03:52, Shawn H Corey wrote: There is no simplify way of doing this. perl -wle ' my $s = "{red,green,blue},{small,large},{light,dark}"; print for glob $s; ' -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl