perl5.10
How flush file in perl under mac?
I have perl, v5.10.0 built for darwin-thread-multi-2level in remote iMac. And I want to run some perl script which prints to file some data and flushes aft开发者_JAVA技巧er each line of output.[详细]
2023-03-03 02:27 分类:问答The good, the bad, and the ugly of lexical $_ in Perl 5.10+
Starting in Perl 5.10, it is now possible to lexically scope the context variable $_, either explicitly as my $_; or in a given / when construct.[详细]
2023-01-09 22:00 分类:问答Why doesn't Perl file glob() work outside of a loop in scalar context?
According to the Perl documentation on file globbing, the <*> operator or glob() function, when used in a scalar context, should iterate through the list of files matching the specified pattern,[详细]
2022-12-26 23:51 分类:问答Can a value be uninitialized, but still defined, in Perl?
Running ActiveState Perl 5.10.1 on win32. How is it that this code: die(defined($r->unparsed_uri =~ \'/(logout.pl)?$\'));[详细]
2022-12-19 12:40 分类:问答Would installing Perl 5.8.x or 5.10.x make a big impact on how my code runs if it was developed in 5.6.x?
What are the impacts (If any) by developing code in Perl 5.6.1 but running the code开发者_StackOverflow中文版 in Perl 5.8.x or 5.10.x?[详细]
2022-12-18 10:21 分类:问答Help troubleshoot a consistently repeatable mod_perl2 / $SIG{__DIE__} bug
This is mod_perl2 on Apache 2.2, ActiveState Perl 5.10 for win32. I override $SIG{__DIE__} and turn on DBI\'s RaiseError flag, which AFAICT from the docs, should call my override when a database call[详细]
2022-12-18 00:25 分类:问答Did Perl 5.10 mess something up with prototypes?
I know this type of thing I want to do used to work in 5.8. Am I doing something wrong? Is there a way to get back there in Perl 5.10?[详细]
2022-12-15 07:11 分类:问答