All pastes #373269 Raw Edit

Miscellany

public text v1 · immutable
#373269 ·published 2007-02-26 18:06 UTC
rendered paste body
package RSCard;

our $dbhSC;

sub new {
	my $class = shift;
	my $self = {};

	return( bless($self, $class) );
}

sub _init {
	return ($dbhSC);
}

1;



package RSCard;

our $dbhSC;

sub new {
	my $class = shift;
	my $self = {};

	return( bless($self, $class) );
}

sub _init {
	return ($dbhSC);
}

1;



use lib '.';

use RSCard;
use RSCard::Creates;

$RSCard::dbhSC = 'test';
my $Creates = new RSCard::Creates;
$Creates->something;