Several packages in one file, no Export possible?

2009-04-15 Thread Patrick Kirsch
Hey list, I'm sure you can direct me: I have several packages together in one file and now I would like "use" the packages. Now my problem is that Perl's "use" wants to have a file and does not search in the executed file, see example: In one file: package Util; use base 'Exporter'; our @EXPORT

Re: Error while compiling GD

2008-06-13 Thread Patrick Kirsch
led for target `blib/arch/auto/GD/GD.so' I guess that helps - look up which package provides "/usr/ucb/cc": http://www.brandonhutchinson.com/usr_ucb_cc.html e.g. the link creation. Regards, -- Patrick Kirsch - Quality Assurance Department SUSE Linux Products GmbH GF: Markus Rex, HRB

Perl garbage collector

2008-12-22 Thread Patrick Kirsch
e optimizer does not return the memory to the OS, in the hope that the same variable will be used again. But what I'm missing is some kind of a 'free' statement in Perl, which definitely returns memory (and I not know yet). Regards, (I'm using perl 5.10.0 on OpenSUSE 11.

Re: Perl garbage collector

2008-12-22 Thread Patrick Kirsch
Mr. Shawn H. Corey schrieb: > On Mon, 2008-12-22 at 18:10 +0100, Patrick Kirsch wrote: > >> Is there a possibility to influence it, to free memory (in the sense >> of >> give it back to the OS)? >> >> > > Does your OS have a function that allows pr

Re: Perl garbage collector

2008-12-22 Thread Patrick Kirsch
rom CPAN, but that implicates a nearly rewrite of the whole codebase. I thought a lot of people are using Perl and they probably did hit the memory footprint issue. I searched the mail archives, there was an discussion in ~2002 about this issue, sadly without a solution. BTW, thanks for your inte

Re: Perl garbage collector

2008-12-22 Thread Patrick Kirsch
you might just want to investigate the XS > interface (`perldoc perlxs`), or the Inline::C module. > > HTH, > Thanks, > -- jay > -- > This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] > private and confidential > > daggerquill [at] gmai

Re: Perl garbage collector

2008-12-23 Thread Patrick Kirsch
ng the performance decrease)? I mean as my second code example shows, that the memory is not really reused, although the exact same size was requested. > One trick is to put your huge data into a thread, and it should be > cleaned up when the thread terminates. > > Don't waste too m

Re: Perl garbage collector

2008-12-23 Thread Patrick Kirsch
my situation the execution time is not primary but the count of parallelism (and this is currently restricted by memory consumption). > Jenda > > = je...@krynicky.cz === http://Jenda.Krynicky.cz = > When it comes to wine, women and song, wizards are allowed > to get drunk