Hello,
I'm unclear about your sample code, but if you did want to send the
output of say open TEST, "|/bin/cat" to the browser, your Perl version
should be configured with sfio. The information you've pasted shows that
d_sfio=undef. If you did want to do something like "/bin/cat notpasswd"
to
On Tue, Dec 06, 2011 at 03:55:54PM -0500, Desilets, Alain wrote:
> package MyClass;
>
> my $class_level_attribute;
>
> sub new {
> my ($class) = @_;
> $self->{instance_level_attribute} = undef;
> bless $self, $class;
> return $self;
> }
>
>
> The idea here is
You're also forgetting:
* use strict
* use warnings
HTH...
On 12/07/2011 06:32 PM, Tuomo Salo wrote:
On Tue, Dec 06, 2011 at 03:55:54PM -0500, Desilets, Alain wrote:
package MyClass;
my $class_level_attribute;
sub new {
my ($class) = @_;
$self->{instance_level_attribute} = u
On Wednesday, 07 December 2011 02:37:19 gAzZaLi wrote:
> Another option is to 'use Test::More' explicitly:
> (Do note that I have managed to segfault this)
>
> use Apache::Test qw(:withtestmore);
> use Test::More;
As of Apache::Test 1.35++ this is wrong. Sorry about the interface change. The
poi
On Tuesday, 06 December 2011 17:40:14 Merlyn Kline wrote:
> To REPRODUCE the problem, you need a Broken.pm module like this:
>
> package Broken;
> my $Testout;
> create(); sub create { # Insert "{#" at the start of this line and the
> segfault goes away open( $Testout, ">&STDOUT" ) or
On Wednesday, 07 December 2011 13:32:01 Tuomo Salo wrote:
> Please do not do that.
>
> When you use a "my" variable outside a subroutine, you create a variable
> that is completely invisible from anywhere outside of that file.
Just my 2¢: Of course it is completely valid to use a my variable outs
> "Tuomo" == Tuomo Salo writes:
Tuomo> When you use a "my" variable outside a subroutine, you create a variable
Tuomo> that is completely invisible from anywhere outside of that file. This
Tuomo> violates some core principles of object oriented programming, and perl
Tuomo> itself:
No it doe