Re: CORE::format() and CORE::write() under 5.6.x
On Mon, 30 Apr 2001, Ken Williams wrote: > [EMAIL PROTECTED] (Stas Bekman) wrote: > >On Mon, 30 Apr 2001, Matt Sergeant wrote: > >> On Mon, 30 Apr 2001, Stas Bekman wrote: > >> > cool, but this section in the guide was stating the CORE::format() doesn't > >> > work. And it's still doesn't under mod_perl. So doesn't CORE::write(). > >> > >> Right, but it would be nice to point to an alternative. The module is > >> called Text::Reform, by the way. > > > >True. Thanks. > > > >Does it have any problems with working under mod_perl? looks like a pure > >perl to me. > > > Damian claims to only ever write code in pure Perl. I was told by quite a few people that this is because of Damian academic background. With all the respect to Damian, it seems that the functionality has a higher preference than performance at his code. I've to admit though that the functionality is great :) One of the people I had a bad luck to be in touch with, wrote an app using Parse::RecDescent as a grammar parser. It was taking *only* a few minutes to parse a big file. Which was quite innacceptible for the web app. I'm imagine that if some of memory mangling parts of Parse::RecDescent were rewritten in XS/C, it'll run much faster. But that might be not true. Anyway, I don't see any reason why won't it work under mod_perl. It doesn't have BEGIN/END blocks (e.g. FindBin doesn't work under mod_perl for because it relies on BEGIN block to be recompiled on each request), not tie, no globals (other than the standard ones). _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: CORE::format() and CORE::write() under 5.6.x
[EMAIL PROTECTED] (Stas Bekman) wrote: >On Mon, 30 Apr 2001, Matt Sergeant wrote: >> On Mon, 30 Apr 2001, Stas Bekman wrote: >> > cool, but this section in the guide was stating the CORE::format() doesn't >> > work. And it's still doesn't under mod_perl. So doesn't CORE::write(). >> >> Right, but it would be nice to point to an alternative. The module is >> called Text::Reform, by the way. > >True. Thanks. > >Does it have any problems with working under mod_perl? looks like a pure >perl to me. Damian claims to only ever write code in pure Perl. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum
Re: CORE::format() and CORE::write() under 5.6.x
On Tue, 1 May 2001, Stas Bekman wrote: > On Mon, 30 Apr 2001, Matt Sergeant wrote: > > > On Mon, 30 Apr 2001, Stas Bekman wrote: > > > > > cool, but this section in the guide was stating the CORE::format() doesn't > > > work. And it's still doesn't under mod_perl. So doesn't CORE::write(). > > > > Right, but it would be nice to point to an alternative. The module is > > called Text::Reform, by the way. > > True. Thanks. > > Does it have any problems with working under mod_perl? looks like a pure > perl to me. I doubt it has problems because it's not magical (well, it's only magical in the Damian Conway sense, not in the Larry Wall sense :-) But I haven't tried it either, so don't take my word for it :-) -- /||** Founder and CTO ** ** http://axkit.com/ ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** mod_perl news and resources: http://take23.org ** \\// //\\ // \\
Re: CORE::format() and CORE::write() under 5.6.x
On Mon, 30 Apr 2001, Matt Sergeant wrote: > On Mon, 30 Apr 2001, Stas Bekman wrote: > > > cool, but this section in the guide was stating the CORE::format() doesn't > > work. And it's still doesn't under mod_perl. So doesn't CORE::write(). > > Right, but it would be nice to point to an alternative. The module is > called Text::Reform, by the way. True. Thanks. Does it have any problems with working under mod_perl? looks like a pure perl to me. _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: CORE::format() and CORE::write() under 5.6.x
On Mon, 30 Apr 2001, Stas Bekman wrote: > cool, but this section in the guide was stating the CORE::format() doesn't > work. And it's still doesn't under mod_perl. So doesn't CORE::write(). Right, but it would be nice to point to an alternative. The module is called Text::Reform, by the way. -- /||** Founder and CTO ** ** http://axkit.com/ ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** mod_perl news and resources: http://take23.org ** \\// //\\ // \\
Re: CORE::format() and CORE::write() under 5.6.x
On Sun, 29 Apr 2001, Matt Sergeant wrote: > On Sun, 29 Apr 2001, Stas Bekman wrote: > > > On Sun, 22 Apr 2001, Stas Bekman wrote: > > > > > There is this entry in the guide: > > > > > > > > > The interface to file handles which are linked to variables with > > > Perl's tie() function is not yet complete. The format() and write() > > > functions are missing. If you configure Perl with C, write() and > > > format() should work just fine. > > > > > > > > > Is this still true under 5.6.x? > > > > if I rely on the perltie man page, these two aren't implemented in 5.6.x. > > Note that Damian Conway has released a replacement for format as a > module. I forget what it's called now, but it's in his directory on CPAN > (not Text::Autoformat, btw). cool, but this section in the guide was stating the CORE::format() doesn't work. And it's still doesn't under mod_perl. So doesn't CORE::write(). _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: CORE::format() and CORE::write() under 5.6.x
On Sun, 29 Apr 2001, Stas Bekman wrote: > On Sun, 22 Apr 2001, Stas Bekman wrote: > > > There is this entry in the guide: > > > > > > The interface to file handles which are linked to variables with > > Perl's tie() function is not yet complete. The format() and write() > > functions are missing. If you configure Perl with C, write() and > > format() should work just fine. > > > > > > Is this still true under 5.6.x? > > if I rely on the perltie man page, these two aren't implemented in 5.6.x. Note that Damian Conway has released a replacement for format as a module. I forget what it's called now, but it's in his directory on CPAN (not Text::Autoformat, btw). -- /||** Founder and CTO ** ** http://axkit.com/ ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** mod_perl news and resources: http://take23.org ** \\// //\\ // \\
Re: CORE::format() and CORE::write() under 5.6.x
On Sun, 22 Apr 2001, Stas Bekman wrote: > There is this entry in the guide: > > > The interface to file handles which are linked to variables with > Perl's tie() function is not yet complete. The format() and write() > functions are missing. If you configure Perl with C, write() and > format() should work just fine. > > > Is this still true under 5.6.x? if I rely on the perltie man page, these two aren't implemented in 5.6.x. _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: CORE::format() and CORE::write() under 5.6.x
At 20:48 22/04/2001 +0800, Stas Bekman wrote: >There is this entry in the guide: > > >The interface to file handles which are linked to variables with >Perl's tie() function is not yet complete. The format() and write() >functions are missing. If you configure Perl with C, write() and >format() should work just fine. > > >Is this still true under 5.6.x? I _think_ that it is still true. At least, perltie and TieL::Handle seem to say so. I don't know if anyone's working on that, isn't PerlIO going to replace tied handles ? ___ Robin Berjon <[EMAIL PROTECTED]> -- CTO k n o w s c a p e : // venture knowledge agency www.knowscape.com --- Heisenberg may have been here.
CORE::format() and CORE::write() under 5.6.x
There is this entry in the guide: The interface to file handles which are linked to variables with Perl's tie() function is not yet complete. The format() and write() functions are missing. If you configure Perl with C, write() and format() should work just fine. Is this still true under 5.6.x? _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/