Re: Stupid Definite Question

2003-06-05 Thread Dougal Campbell
On Wed, 4 Jun 2003, Leon wrote: Hi everyone, This may seem done but I cant seem to figure out the difference. What is the difference between a function and a method? It kind of seems like methods are functions of modules. There is no difference, practically speaking. But technically

Re: HTML::TreeBuilder

2002-10-23 Thread Dougal Campbell
On Wed, 23 Oct 2002, [ISO-8859-1] Torbjørn Lindahl wrote: Hi, my problem: I am parsing a html page looking for table-tags. The Treebuilder has a look_down function: $tree-look_down(_tag,table);#lists all tables in the html $tree-look_down(_tag,table, width,170);#lists all tables

Re: GD generates not a valid image file

2002-06-26 Thread Dougal Campbell
On Wed, 26 Jun 2002, Rob Wilson wrote: My conclusion is that some viewers are fussy about file formats, esp for jpg. I should write to GD's author. Rob What about the interlace() call? That might cause GD to write a progressive JPEG, and I *have* heard that some viewers don't like

Re: GD generates not a valid image file

2002-06-25 Thread Dougal Campbell
On Tue, 25 Jun 2002, Rob Wilson wrote: Just getting to learn GD in order to use graphs (eg Chart::Plot). [] Example script (from GD doc): use GD; # create a new image $im = new GD::Image(100,100); # allocate some colors $white =