Re: DBCS Charater sort

2003-11-30 Thread drieux
On Nov 30, 2003, at 3:45 PM, Colin Johnstone wrote: [..] To provide an alphabetically sorted list of documents I use the PERL sort routine but how can I sort DBCS characters for our Japanese and Taiwanese friends. Has anyone had experience doing this. have you looked at UCS?

Re: Zero Rreferences (was:Stupid Question)

2003-11-30 Thread drieux
On Nov 30, 2003, at 2:39 PM, R. Joseph Newton wrote: Does the difference between the two memory readings represent a memory leak? I think that is unlikely. If it were a true memory leak, it would have t aken a much geater toll. More like the OS simply lets the program keep memory that it s

DBCS Charater sort

2003-11-30 Thread Colin Johnstone
Gidday All, We are developing templates in our CMS to be used across many countries in the Asia Pacific region. To provide an alphabetically sorted list of documents I use the PERL sort routine but how can I sort DBCS characters for our Japanese and Taiwanese friends. Has anyone had experience

Re: Zero Rreferences (was:Stupid Question)

2003-11-30 Thread R. Joseph Newton
drieux wrote: > > Malloc from the Top > Free From the Bottom > > and whip out some sort of 'initializer' function that > will if the thingiePoo is non-Null start out by calling > the tree_traverser() that will decend the complex data > structure making sure that the leaf nodes can

Re: scalars & lists

2003-11-30 Thread James Edward Gray II
On Nov 30, 2003, at 12:33 PM, B. Rothstein wrote: If I have a scalar variable that itslef is a list of names and numbers, for example $names = 'john 35, jack 18, albert 24, timmy 42'; is it possible, and if so how can it be done to separate the individual names and ages from the list in their

Re: Pointers and References

2003-11-30 Thread drieux
On Nov 30, 2003, at 6:23 AM, Jason Dusek wrote: What is a pointer and what is a reference? How are they different? As R.Joseph has noted they are different, and of course the obligatory perldoc tutorials. ( op. cit. ) That having been said, we might want to step back to the 'older language' of

Re: Pointers and References

2003-11-30 Thread R. Joseph Newton
Jason Dusek wrote: > Hi Kids, > > What is a pointer and what is a reference? A pointer is a variable which holds a memory address. That is all it holds, except possibly a classification by type, which can be morphed. Pointers are a C/C++ topic, really. We use the term casually someimes when spe

Re: scalars & lists

2003-11-30 Thread R. Joseph Newton
"B. Rothstein" wrote: > If I have a scalar variable that itslef is a list of names and numbers, for > example > > $names = 'john 35, jack 18, albert 24, timmy 42'; is it possible, and if > so how can it be done to separate the individual names and ages from the > list in their scalar form in orde

Re: Zero Rreferences (was:Stupid Question)

2003-11-30 Thread drieux
On Nov 29, 2003, at 11:46 PM, Charles K. Clarkson wrote: [..] I joined this thread late, forgive me if this has been answered. Is there a module or a programmatic method to ensuring that there are no references left? [..] p0: If you want to review a thread on the beginner's mailing list, one w

Re: How to get a dir creation time

2003-11-30 Thread Randal L. Schwartz
> "Yannick" == Yannick Warnier <[EMAIL PROTECTED]> writes: Yannick> I would like to check a directory's creation time. The File::stat module Yannick> seems to give me some interesting informations about the last Yannick> modification, but nothing about the time it was created on. You can't ge

How to get a dir creation time

2003-11-30 Thread Yannick Warnier
Hi, I would like to check a directory's creation time. The File::stat module seems to give me some interesting informations about the last modification, but nothing about the time it was created on. Also, I have not found yet if this works under a Windows OS (i'm still looking now) so if someone

Re: perl is slick

2003-11-30 Thread Dan Anderson
> Vive OO. Rock on. -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Don't Send To Me! [OT]

2003-11-30 Thread Dan Anderson
On Mon, 2003-11-24 at 01:54, Jason Dusek wrote: > Hi There, > > Is there some way to get people on this list to stop sending me two > emails at once? I am on the beginner's list - so when you send email > to me and then cc to the list, I get two. Which is annoying. I > suppose I could write

RE: scalars & lists

2003-11-30 Thread B. Rothstein
If I have a scalar variable that itslef is a list of names and numbers, for example > $names = 'john 35, jack 18, albert 24, timmy 42'; is it possible, and if so how can it be done to separate the individual names and ages from the list in their scalar form in order to create new lists sorted by n

Re: scalars & lists

2003-11-30 Thread James Edward Gray II
Keep your replies on the list and you won't have to wait for me to wake up again for an answer. ;) On Nov 30, 2003, at 4:33 AM, B. Rothstein wrote: thanks for the functions, but for some reason the sort does not seem to be coming out correctly, any idea why? By default, sort() works ASCIIbetic

Pointers and References

2003-11-30 Thread Jason Dusek
Hi Kids, What is a pointer and what is a reference? How are they different? If I read a book on C++ pointers and references, will it say the exact same things as a book on Perl references? - Jason When Banzan was walking through the Union Square greenmarket he overheard a conversation betwee

Re: Stupid Question

2003-11-30 Thread drieux
On Nov 29, 2003, at 6:35 PM, John W. Krahn wrote: AFAIK all variables have a reference count. the concern is in the land of my $c = { a => { k =>1 } }; my $a = $c->{a}; my $b = \$c; Dump $c; SV = RV(0x815440) at 0x80a270 REFCNT = 2 FLAGS = (PADBUSY,PADMY,ROK) RV = 0x8012b8 SV = PVHV(0x80