Re: Exploiting the Perl

2009-08-29 Thread Chas. Owens
On Fri, Aug 28, 2009 at 16:32, Uri Guttmanu...@stemsystems.com wrote: snip now, as randal also asked, why do you want this? you are just learning perl and i am sure this is way above your head in many dimensions. and i am positive this is an XY problem where you want X and think Y is the

Re: Exploiting the Perl

2009-08-29 Thread Uri Guttman
CO == Chas Owens chas.ow...@gmail.com writes: CO On Fri, Aug 28, 2009 at 16:32, Uri Guttmanu...@stemsystems.com wrote: CO snip now, as randal also asked, why do you want this? you are just learning perl and i am sure this is way above your head in many dimensions. and i am positive

Re: Exploiting the Perl

2009-08-29 Thread Steve Bertrand
Uri Guttman wrote: CO == Chas Owens chas.ow...@gmail.com writes: CO On Fri, Aug 28, 2009 at 16:32, Uri Guttmanu...@stemsystems.com wrote: CO snip now, as randal also asked, why do you want this? you are just learning perl and i am sure this is way above your head in many

Re: Exploiting the Perl

2009-08-29 Thread Uri Guttman
SB == Steve Bertrand st...@ibctech.ca writes: SB The idea started off as a way to store data in memory for a very short SB period of time between invocations of a CGI application. I then got SB thinking about how to do the same thing, without CGI. then i was right about the XY problem.

Re: Exploiting the Perl

2009-08-29 Thread Steve Bertrand
SB == Steve Bertrand st...@ibctech.ca writes: SB The idea started off as a way to store data in memory for a very short SB period of time between invocations of a CGI application. I then got SB thinking about how to do the same thing, without CGI. then i was right about the XY

Re: Exploiting the Perl

2009-08-29 Thread Uri Guttman
SB == Steve Bertrand st...@ibctech.ca writes: SB I believe my own confusion has led to portraying my confusion quite well. SB Let's forget what I've stated up until now. I'll do some homework, and try SB to get a better understanding of the term 'persistence'. fwiw, my SB understanding

Re: Exploiting the Perl

2009-08-29 Thread Chas. Owens
On Sat, Aug 29, 2009 at 21:12, Uri Guttmanu...@stemsystems.com wrote: snip  SB ... in my case, it's not feasible given that I need an object maintained,  SB that is relatively complex in nature. you would be surprised at how much data you can put in a hidden variable. just convert it to text

Re: Exploiting the Perl

2009-08-29 Thread Uri Guttman
CO == Chas Owens chas.ow...@gmail.com writes: CO On Sat, Aug 29, 2009 at 21:12, Uri Guttmanu...@stemsystems.com wrote: CO snip  SB ... in my case, it's not feasible given that I need an object maintained,  SB that is relatively complex in nature. you would be surprised at how

Re: Exploiting the Perl

2009-08-29 Thread Chas. Owens
On Sat, Aug 29, 2009 at 23:21, Uri Guttmanu...@stemsystems.com wrote: CO == Chas Owens chas.ow...@gmail.com writes:  CO On Sat, Aug 29, 2009 at 21:12, Uri Guttmanu...@stemsystems.com wrote:  CO snip    SB ... in my case, it's not feasible given that I need an object maintained,    SB that

Re: Exploiting the Perl

2009-08-29 Thread Uri Guttman
CO == Chas Owens chas.ow...@gmail.com writes: CO On Sat, Aug 29, 2009 at 23:21, Uri Guttmanu...@stemsystems.com wrote: CO == Chas Owens chas.ow...@gmail.com writes:  CO On Sat, Aug 29, 2009 at 21:12, Uri Guttmanu...@stemsystems.com wrote:  CO snip    SB ... in my case, it's

Re: Exploiting the Perl

2009-08-29 Thread Chas. Owens
On Sun, Aug 30, 2009 at 00:46, Uri Guttmanu...@stemsystems.com wrote: snip my memory of shmop is old. it does have kernel persistance but that doesn't do any good for http persistance if the kernel is rebooted between requests. you still need disk persistance. this is from shm_overview on

Re: Exploiting the Perl

2009-08-29 Thread Uri Guttman
CO == Chas Owens chas.ow...@gmail.com writes: mmap is old (i used it over 20 years ago on sunos, way before linux even existed). you could use it for shared ram backed by disk as it used the vm for this. CO snip CO I never said it was new, just modern. Lexical filehandles are

Re: Exploiting the Perl

2009-08-29 Thread Chas. Owens
On Sun, Aug 30, 2009 at 01:25, Uri Guttmanu...@stemsystems.com wrote: CO == Chas Owens chas.ow...@gmail.com writes:   mmap is old (i used it over 20 years ago on sunos, way before linux even   existed). you could use it for shared ram backed by disk as it used the   vm for this.  CO snip  

Re: Exploiting the Perl

2009-08-28 Thread Randal L. Schwartz
Steve == Steve Bertrand st...@ibctech.ca writes: Steve My last question, rephrased to be direct-to-the-point: Multi-part Steve howto, or STFU if it's not possible request: Just a why would help. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

Re: Exploiting the Perl

2009-08-28 Thread Uri Guttman
SB == Steve Bertrand st...@ibctech.ca writes: SB My last question, rephrased to be direct-to-the-point: SB Multi-part howto, or STFU if it's not possible request: no, i won't stfu. first off this isn't close to a beginner's question. complex stuff like perl guts, memory leaks and reloadable

Exploiting the Perl

2009-08-27 Thread Steve Bertrand
My last question, rephrased to be direct-to-the-point: Multi-part howto, or STFU if it's not possible request: - create a scalar to contain the memory address of a reference to a complex data structure - store ONLY the memory address using 'Storable' (or some other mechanism) - create a

Re: Exploiting the Perl

2009-08-27 Thread Steve Bertrand
to writing the content, it slipped by... Subject was to read: Exploiting the Perl Garbage Collection (possibly) Steve smime.p7s Description: S/MIME Cryptographic Signature

Exploiting the Perl Garbage Collection (possibly) was:[ Exploiting the Perl]

2009-08-27 Thread Steve Bertrand
Steve Bertrand wrote: My last question, rephrased to be direct-to-the-point: Multi-part howto, or STFU if it's not possible request: - create a scalar to contain the memory address of a reference to a complex data structure - store ONLY the memory address using 'Storable' (or some other