R == R Joseph Newton [EMAIL PROTECTED] writes:
R Message-ID: [EMAIL PROTECTED]
R [Randal]
R ...
R The point is that
R $instance-new
R could mean either clone, or make one of the same class as. You
R don't need it for make one of the same class as, because you've got:
R
Easy there. Before we start using the 'V' word, lets just step back for a second.
First of all, there is absolutely nothing wrong with putting a program in the Run key,
and it is in fact a bad idea to tell people to categorically delete anything in that
key. I would agree that viruses and
Christopher J Bottaro wrote:
just for practice, i made a class BinaryTree. its just a blessed reference to
a hash that contains two things: size and root. root gets assigned to a
BinaryTree::Node which is just a bless reference containing: key, value,
left, right.
perl deallocates
Chetak Sasalu wrote:
I want to search for the word status in a group of files in a
directory and replace it with status\n^L where ^L is a page break
chatacter, In vi I can type it in using cntrl+l.
if you really want to 'type' it in, you can type C-vC-l you can
insert tabs in a regex with
christopher j bottaro wrote:
just for practice, i made a class BinaryTree. its just a blessed reference to
a hash that contains two things: size and root. root gets assigned to a
BinaryTree::Node which is just a bless reference containing: key, value,
left, right.
perl deallocates
NYIMI Jose (BMB) wrote:
Did you read this ?
http://www.perl.com/lpt/a/2002/08/07/proxyobject.html
José.
Hi Jose,
Actually, if christopher is accurately reporting his class structures, this article
should not relate. He reports only one-way references, wherein Mommy watches her
kids, and
Yes, you right.
José.
-Original Message-
From: R. Joseph Newton [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 6:18 PM
To: NYIMI Jose (BMB)
Cc: christopher j bottaro; [EMAIL PROTECTED]
Subject: Re: deallocating?
NYIMI Jose (BMB) wrote:
Did you read this ?
Andrew Gaffney wrote:
I want to write a Perl program that will auto generate GIF images. The images that I
want
to generate will be about 30x80. It will be a black rectangle starting in the
bottom-right
with a few pixels border on the top and left. There will be a light blue rectangle
zentara wrote:
On Sat, 20 Dec 2003 14:23:15 -0600, [EMAIL PROTECTED] (Andrew
Gaffney) wrote:
I want to write a Perl program that will auto generate GIF images. The images that I want
to generate will be about 30x80. It will be a black rectangle starting in the bottom-right
with a few pixels
Andrew Gaffney writes:
zentara wrote:
Well, gifs were shunned by alot of the software writers because of
the old patent issues. So your best bet will be to make your image as
a jpg or png, then convert it to gif afterwards.
Is PNG a good format for a 51x20 image with 4 or 5 colors?
On Sunday 21 December 2003 11:07 am, R. Joseph Newton wrote:
Nope. Try
$root = undef;
interesting. so perl is smart enough to know that once root is undef, the
user has no way of reaching any of the nodes in the tree, even if those nodes
still have references to them (i.e. the parent nodes
zentara wrote:
On Sat, 20 Dec 2003 14:23:15 -0600, [EMAIL PROTECTED] (Andrew
Gaffney) wrote:
I want to write a Perl program that will auto generate GIF images. The images that I want
to generate will be about 30x80. It will be a black rectangle starting in the bottom-right
with a few pixels
Tim Johnson wrote:
Easy there. Before we start using the 'V' word, lets just step back for a second.
First of all, there is absolutely nothing wrong with putting a program in the Run
key, and it is in fact a bad idea to tell people to categorically delete anything in
that key. I would
Andrew Gaffney wrote:
I wrote my own script based off your example and the docs at
http://search.cpan.org/~lds/GD-2.11/GD.pm. When I run the below
program, I get:
skyline skyline-src # ./genbutton.pl
gd-png: fatal libpng error: Invalid number of colors in palette
gd-png error: setjmp returns
--As off Sunday, December 21, 2003 11:59 AM -0600, Robert Brown is
alleged to have said:
Is there any alternative to gifs to make animated images? Flash is
proprietary to macromedia, and gif to Unisys. Is there such a thing
as an animated png? How about a free (in the GPL sense) open
sourced
Daniel Staal writes:
--As off Sunday, December 21, 2003 11:59 AM -0600, Robert Brown is
alleged to have said:
Is there any alternative to gifs to make animated images? Flash is
proprietary to macromedia, and gif to Unisys. Is there such a thing
as an animated png? How about a
Andrew Gaffney wrote:
zentara wrote:
On Sat, 20 Dec 2003 14:23:15 -0600, [EMAIL PROTECTED] (Andrew
Gaffney) wrote:
I want to write a Perl program that will auto generate GIF images. The images that
I want
to generate will be about 30x80. It will be a black rectangle starting in the
Andrew Gaffney [EMAIL PROTECTED] wrote:
:
: I wrote my own script based off your example and the docs
: at http://search.cpan.org/~lds/GD-2.11/GD.pm. When I
: run the below program, I get:
:
:
: skyline skyline-src # ./genbutton.pl
: gd-png: fatal libpng error: Invalid number of colors in
On Saturday 20 December 2003 05:05 am, Owen wrote:
I think the easiest for you would be to;
use Modules; # as found in /usr/lib/perl5/5.8.0/
use lib '/home/cjb/perlmodules'; #followed by
use MyModule; #and/or any other module you have there
great, that worked perfectly...=) i'm having a
Just type
perldoc lib
HTH,
José.
-Original Message-
From: christopher j bottaro [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 8:50 PM
To: [EMAIL PROTECTED]
Subject: Re: where to look for modules?
On Saturday 20 December 2003 05:05 am, Owen wrote:
I think the easiest for
Charles K. Clarkson wrote:
Andrew Gaffney [EMAIL PROTECTED] wrote:
:
: I wrote my own script based off your example and the docs
: at http://search.cpan.org/~lds/GD-2.11/GD.pm. When I
: run the below program, I get:
:
:
: skyline skyline-src # ./genbutton.pl
: gd-png: fatal libpng error:
Andrew Gaffney writes:
The resulting image is http://www.skylineaero.com/testbutton.png. I was modeling
the
image after one I had previously done using Paint Shop Pro at
http://www.skylineaero.com/contactusbutton.gif. They look pretty darn similar
except for
the text. Can anyone
Andrew Gaffney [EMAIL PROTECTED] wrote:
: Can anyone recommend a way to make the generated text
: (testbutton.png) look like the text in the hand-made
: one (contactusbutton.gif)? Also, since this will be a
: script to auto-generate these images with user-defined
: text, how can I center the text
Robert Brown wrote:
Andrew Gaffney writes:
The resulting image is http://www.skylineaero.com/testbutton.png. I was modeling the
image after one I had previously done using Paint Shop Pro at
http://www.skylineaero.com/contactusbutton.gif. They look pretty darn similar except for
the
On Sun, 21 Dec 2003 13:49:59 -0600
christopher j bottaro [EMAIL PROTECTED] wrote:
On Saturday 20 December 2003 05:05 am, Owen wrote:
I think the easiest for you would be to;
use Modules;# as found in /usr/lib/perl5/5.8.0/
use lib '/home/cjb/perlmodules'; #followed by
use
Charles K. Clarkson wrote:
Andrew Gaffney [EMAIL PROTECTED] wrote:
: Can anyone recommend a way to make the generated text
: (testbutton.png) look like the text in the hand-made
: one (contactusbutton.gif)? Also, since this will be a
: script to auto-generate these images with user-defined
:
Andrew Gaffney wrote:
Charles K. Clarkson wrote:
Andrew Gaffney [EMAIL PROTECTED] wrote:
: Can anyone recommend a way to make the generated text
: (testbutton.png) look like the text in the hand-made
: one (contactusbutton.gif)? Also, since this will be a
: script to auto-generate these images
Andrew Gaffney wrote:
Charles K. Clarkson wrote:
Andrew Gaffney [EMAIL PROTECTED] wrote:
: Can anyone recommend a way to make the generated text
: (testbutton.png) look like the text in the hand-made
: one (contactusbutton.gif)? Also, since this will be a
: script to auto-generate these images
Does that clear things up?
yes, very much so...thank you...=)
-- christopher
On Sunday 21 December 2003 10:39 pm, James Edward Gray II wrote:
Perl uses a reference counting system. That usually does the right
thing, like most things Perl. It's not magic, but it sure is handy.
Let's look at
James == James Edward Gray [EMAIL PROTECTED] writes:
James Object A's ref count just hit zero, so it's gone. Now when that
James garbage collection happens, B's count is reduced, since A's reference
James to it is reclaimed. If it hits zero too, B will be collected. That
James would reduce
30 matches
Mail list logo