GD graphics library

2001-06-13 Thread James Taylor
On comp.sys.acorn.programmer the following came up: In article [EMAIL PROTECTED], Alex Waugh [EMAIL PROTECTED] wrote: On Tue, 12 Jun 2001, James Taylor wrote: Yes, I've heard of the ImageMagick and GD graphics libraries which both have Perl interfaces. I haven't looked into them yet

Re: GD graphics library

2001-06-29 Thread James Taylor
On Thu 28 Jun, Matthew Somerville wrote: In message [EMAIL PROTECTED] James Taylor [EMAIL PROTECTED] wrote: If there's any chance of getting GD to work on RISC OS, and therefore for me to be able not only to practise using GD from Perl, but also to write useful little graphics

Shock: rand function is not uniform!

2002-02-15 Thread James Taylor
tried writing my own random number generator in Perl but, although it works and is uniform, it is unfortunately really quite slow. If anyone's interested, I can post it. -- James Taylor [EMAIL PROTECTED] Based in Southam, Cheltenham, UK. PGP key available ID: 3FBE1BF9 Fingerprint: F19D803624ED6FE8

Re: Shock: rand function is not uniform!

2002-02-18 Thread James Taylor
, $next; shift @q; if (defined $mul) { return int $next / (1 31) * $mul; } else { return $next / (1 31); } } } Hope that's helpful to someone... :-) -- James Taylor [EMAIL PROTECTED] Based in Southam, Cheltenham, UK. PGP key available ID

Re: Shock: rand function is not uniform!

2002-02-19 Thread James Taylor
On Tue 19 Feb, Justin Fletcher wrote: James Taylor wrote: Please look at the problem before passing comment. Still, it's empirical evidence; whilst it may be skewed there's very little you can say from empirical evidence other than that over the period... I said this. I think your

Re: Front end for Perl

2002-03-16 Thread James Taylor
after a while. :-/ -- James Taylor [EMAIL PROTECTED] Based in Southam, Cheltenham, UK. PGP key available ID: 3FBE1BF9 Fingerprint: F19D803624ED6FE8 370045159F66FD02

Re: Uses for Perl

2002-03-22 Thread James Taylor
to that which the introduction espouses. I had to back-grade from the latest version of HTML::Template because something they've done has broken it on RISC OS. (I think it's a File::Spec related problem but I didn't look into it any further than that.) -- James Taylor [EMAIL PROTECTED] Based in Southam

Re: how to generate random number between the range -10 to 10

2003-03-06 Thread James Taylor
. :-) -- James Taylor, Cheltenham, Gloucestershire, UK. PGP key: 3FBE1BF9

Re: File::Find

2003-06-15 Thread James Taylor
? It is perfectly standard behaviour. If you wish to ignore directories then simply test for them in the first line of your wanted() routine like so: find(sub { return if -d; # Returns without doing anything if this is a directory # Process files here }, '/dir/to/scan'); -- James Taylor

Re: trailing spaces

2003-08-20 Thread James Taylor
edition http://www.oreilly.com/catalog/lperl3/ or: The site for people learning Perl http://learn.perl.org/ or even: Online Perl documentation http://www.perldoc.com/ -- James Taylor, Cheltenham, Gloucestershire, UK. PGP key: 3FBE1BF9

Re: trailing spaces

2003-08-21 Thread James Taylor
On Thu 21 Aug, Roger Horne wrote: On Wed 20 Aug, James Taylor wrote: But, more usefully, the fishing rod is: Learning Perl, 3rd edition http://www.oreilly.com/catalog/lperl3/ That was the 1st (out of many) Perl book that I bought and I found it awful. Really? I found