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.
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.
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,
Running ActiveState Perl 5.10.1 on win32. How is it that this code: die(defined($r->unparsed_uri =~ \'/(logout.pl)?$\'));
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?
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
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?