Re: execute problems

2003-12-04 Thread Kaare Rasmussen
Luiz, Gerald

Thanks for your feedback.

If I just execute the file it seems that the "global" (for that file) value 
sticks - but that it will be purged after some time. At least I get erratic 
behaviour trying to do that.

Maybe I'll make it as object. Suits me better, I think.

> You can make it even more smart if you are using EmbperlObject. If you
> execute your files with the "isa" syntax in the "base template" file you
> can call your subs as methods of the $req object.

Not quite sure what the isa syntax is here.

-- 
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize  Fax:3816 2501
Howitzvej 75   Ă…ben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00   Web:  www.suse.dk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Writing to a file

2003-12-04 Thread Pete Moran
Since I have upgraded from 1.3 to 2.0, I dont seem to be able to write
to a file

[-
open(TMP, "> /tmp/test");
print TMP "THIS IS A TEST";
close TMP;


-]

Results in 0 byte file being created any ideas why ?


Thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]