Simple table problem

2003-12-02 Thread Pete Moran
I know this is a really simple problem - and can be fixed using if statements etc - but wanted to know if there was a standard way of doing this. Simply say I have a array @array = qw/1 2 3 4 5 6 7 8 9 10/; And I want to create a dynamic table of this data - BUT I want to have a fixed column len

Re: udat and objects

2003-12-02 Thread Gerald Richter
Hi, > > Is it correct, that it is impossible to store blessed references (Perl > objects) in udat? Same for mdat? > You can store blessed references and objects. > If yes, is there any workaround? Maybe serializing the object first > with Storable or something like this? But if i interpreted the

Re: [$ var $udat $]

2003-12-02 Thread Gerald Richter
Kee Hinckley wrote: > That particular definition leads to bad things. In particular, > eventually you die in SetupSession because tied %HTML::Embperl::udat > returns undefined. > > My guess is that the cleanup of $udat in the module I'm calling > (loaded by an Execute({ isa }) into a template) is

Re: Cookie and Cookieless sessions

2003-12-02 Thread Gerald Richter
Hi, > > Basically what I want to do is to have standard cookied sessions, > however if user doesn't support cookies then it falls back to > cookieless sessions. > > Can I > a) Have both cookie and cookieless sessions running at the same time > - if so how do I configure this. In Embperl 2.0 look

Re: called from embperl? $0 available?

2003-12-02 Thread Sherwin Daganato
On Tue, Dec 02, 2003 at 03:16:33PM +0100, Benni Baermann wrote: > I noticed, that $0 is set to "-e" in my module if it is called from > embperl. Is this the normal behaviour or just random? > > Is there another - possible better - way to determine in my modul, if > the function is called from Emb

called from embperl? $0 available?

2003-12-02 Thread Benni Baermann
Hi! I noticed, that $0 is set to "-e" in my module if it is called from embperl. Is this the normal behaviour or just random? Is there another - possible better - way to determine in my modul, if the function is called from Embperl or from an ordinary script? Thanks for any help! (and thanks fo

Re: udat and objects

2003-12-02 Thread Luiz Fernando B. Ribeiro
On Tue, 2 Dec 2003 10:36:32 +0100, Benni Baermann <[EMAIL PROTECTED]> wrote: Hi! Is it correct, that it is impossible to store blessed references (Perl objects) in udat? Same for mdat? If yes, is there any workaround? Maybe serializing the object first with Storable or something like this? But if

udat and objects

2003-12-02 Thread Benni Baermann
Hi! Is it correct, that it is impossible to store blessed references (Perl objects) in udat? Same for mdat? If yes, is there any workaround? Maybe serializing the object first with Storable or something like this? But if i interpreted the mails in the archive correct this still will not work with