Re:Links to perldoc in pdf

2011-06-28 Thread pangj
Download it with both HTML and PDF files: http://perldoc.perl.org/perldoc.tar.gz Message du 27/06/11 23:42 De : Peng Yu A : Perl Beginners Copie à : Objet : Links to perldoc in pdf Hi, perldoc.perl.org has the perl document in pdf format. But I don't find a webpage that links to

Re: rmdir

2011-06-28 Thread Irfan Sayed
Awsome!!! this works fine . Rob you rock thanks a lot. --irfan From: Rob Dixon rob.di...@gmx.com To: Perl Beginners beginners@perl.org Cc: Irfan Sayed irfan_sayed2...@yahoo.com Sent: Monday, June 27, 2011 11:54 PM Subject: Re: rmdir On 24/06/2011 10:43,

Re: matplotlib

2011-06-28 Thread Wernher Eksteen
Not sure if this is relevant, but I stumbled on this.. http://pdl.perl.org/ Wernher On Thu, Jun 23, 2011 at 9:30 AM, Sayth Renshaw flebber.c...@gmail.com wrote: On Thu, Jun 23, 2011 at 6:32 AM, Bryan R Harris bryan_r_har...@raytheon.com wrote: I much prefer perl to python given my recent

Re: matplotlib

2011-06-28 Thread Wernher Eksteen
Maybe it is of relevance after all... PDL is free software. The authors of PDL think that this concept has several advantages: everyone has access to the sources - better debugging, easily adaptable to your own needs, extensible for your purposes, etc... In comparison with commercial packages

Re: String Formatting by Column

2011-06-28 Thread Wernher Eksteen
Hi Rob, I wasn't quite sure at first what you meant by passing the file handle DATA in the while loop when $fh already existed, so I changed the code slightly like this: my $file = file.txt; open(my $fh, , $file) or die $!; while ($fh) { Works like a charm, thanks again! Regards, Wernher

Re: matplotlib

2011-06-28 Thread Brendan Gilroy
Isn't MatPlotLib free as well? I don't think PDL's low cost is a competitive advantage for Perl over Python In this Perlmonks node: http://www.perlmonks.org/?node_id=347028 , the GD::Graphs module, and the PGPlot ( http://search.cpan.org/search?query=pgplotmode=all) and GnuPlot (

Re: matplotlib

2011-06-28 Thread Wernher Eksteen
I really don't know much about MATLIB, but looking on their site it doesn't seem free: http://www.mathworks.com/products/matlab/ I stumbled on PDL by chance and remembered someone asking if Perl could do this and so shared in the hope it might help. On 28 June 2011 20:01, Brendan Gilroy

Re: matplotlib

2011-06-28 Thread Wernher Eksteen
Ok well on second thought, MATLAB probably is MATLIB... On 28 June 2011 20:10, Wernher Eksteen wekst...@gmail.com wrote: I really don't know much about MATLIB, but looking on their site it doesn't seem free: http://www.mathworks.com/products/matlab/ I stumbled on PDL by chance and remembered

Re: matplotlib

2011-06-28 Thread Bryan R Harris
Nope, you had it right before. Matlab is commercial (and very expensive) software that the python matplotlib/scipy/numpy combination may replace for some people. The benefit of that is many people know and use matlab, so using matplotlib is familiar to them. - Bryan Ok well on second

Re: String Formatting by Column

2011-06-28 Thread Rob Dixon
On 28/06/2011 18:28, Wernher Eksteen wrote: Rob use strict; use warnings; use Fcntl 'SEEK_SET'; my $format; my $fh = *DATA; # Replace with the appropriate 'open my $fh, '', ... or die $!; I wasn't quite sure at first what you meant by passing the file handle DATA in the while loop

Re: String Formatting by Column

2011-06-28 Thread Wernher Eksteen
That's exactly right. I meant that, if you were using an external file, you only needed to replace the line my $fh = *DATA; with open my $fh, '', 'myfile.txt' or die $!; which is pretty much what you have done. Unfortunately I made a mistake and wrote while (DATA) { in the first

run Javascript from Perl

2011-06-28 Thread pangj
What's the right module to call a browser kernel (for example, the IE) to run Javascript? thanks. Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional