07-17-2012
My poor lap
Won't take that far!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have installed SDL int /opt
and i installed a game with pkgadd in /usr/local
and when i try to start the game i says:
ld.so.1: ./gamename: fatal: libSDL-1.1.so.0: open failed: No such file or directory
what should i do (1 Reply)
Discussion started by: CreamHarry
1 Replies
2. What is on Your Mind?
So what kind of games we all play? If any?
I like RTS, C&C fan here all the way :p (8 Replies)
Discussion started by: woofie
8 Replies
3. UNIX for Dummies Questions & Answers
Does anyone know of any unix-based games? (1 Reply)
Discussion started by: danceofillusion
1 Replies
4. What is on Your Mind?
You guys are really are a genius, you make computer processing more easy for us end users. You just don't make wonders but you also make good computer games too. Really there is a fast evolution on the era of the computer world. Thanks to you guys!
__________________
The Cute Angry Birds... (0 Replies)
Discussion started by: methusela123
0 Replies
5. Ubuntu
I have Ubunut installed on my desktop
AMD 6 Core 3.2 (will be getting the bulldozer AMD 8 Core when it releases)
16 GB of DDR3 1333 RAM
SSD
some HDD's
Nvidia 560 ti 1GB
My question is, how can I or can I even get a Win 7 VM to play games as well in a main install. Give it 10 GBs of RAM... (0 Replies)
Discussion started by: ochieman2000
0 Replies
6. What is on Your Mind?
Hi, guys. What is your favourite movie at the moment? Which movie are you watching? I am watching the Thor:) (17 Replies)
Discussion started by: Tinna
17 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi!
I'm new to the site, and today I clicked on "Banking", curious as to what that was about. Aside from being able to "buy" things with these points, it appears there are some games available, on which you can wager your points. While I could access the "high scores", I could not find the... (14 Replies)
Discussion started by: sudon't
14 Replies
8. What is on Your Mind?
So what is everyones all time favourite games console and why do you like it?
(Please - no comments on why they are better than others as that would be opinion based and cause arguments, positive comments only) (28 Replies)
Discussion started by: Tommyk
28 Replies
9. Post Here to Contact Site Administrators and Moderators
Plz help me to hack computer games that is paid ty (1 Reply)
Discussion started by: 09287501067
1 Replies
10. UNIX Desktop Questions & Answers
Most of the people think that they can not use Unix as desktop.
By this poll we gone tell them that we not just use Unix as desktop but also love different display managers like GNOME, KDE etc..... (35 Replies)
Discussion started by: ynilesh
35 Replies
LEARN ABOUT DEBIAN
class::makemethods::composite::universal
MakeMethods::Composite::Universal(3pm) User Contributed Perl Documentation MakeMethods::Composite::Universal(3pm)
NAME
Class::MakeMethods::Composite::Universal - Composite Method Tricks
SYNOPSIS
Class::MakeMethods::Composite::Universal->make_patch(
-TargetClass => 'SomeClass::OverYonder',
name => 'foo',
pre_rules => [
sub {
my $method = pop;
warn "Arguments for foo:", @_
}
]
post_rules => [
sub {
warn "Result of foo:", Class::MakeMethods::Composite->CurrentResults
}
]
);
DESCRIPTION
The Composite::Universal suclass of MakeMethods provides some generally-applicable types of methods based on Class::MakeMethods::Composite.
METHOD GENERATOR TYPES
patch
The patch ruleset generates composites whose core behavior is based on an existing subroutine.
Here's a sample usage:
sub foo {
my $count = shift;
return 'foo' x $count;
}
Class::MakeMethods::Composite::Universal->make(
-ForceInstall => 1,
patch => {
name => 'foo',
pre_rules => [
sub {
my $method = pop @_;
if ( ! scalar @_ ) {
@{ $method->{args} } = ( 2 );
}
},
sub {
my $method = pop @_;
my $count = shift;
if ( $count > 99 ) {
Carp::confess "Won't foo '$count' -- that's too many!"
}
},
],
post_rules => [
sub {
my $method = pop @_;
if ( ref $method->{result} eq 'SCALAR' ) {
${ $method->{result} } =~ s/oof/oozle-f/g;
} elsif ( ref $method->{result} eq 'ARRAY' ) {
map { s/oof/oozle-f/g } @{ $method->{result} };
}
}
],
},
);
make_patch
A convenient wrapper for "make()" and the "patch" method generator.
Provides the '-ForceInstall' flag, which is required to ensure that the patched subroutine replaces the original.
For example, one could add logging to an existing method as follows:
Class::MakeMethods::Composite::Universal->make_patch(
-TargetClass => 'SomeClass::OverYonder',
name => 'foo',
pre_rules => [
sub {
my $method = pop;
warn "Arguments for foo:", @_
}
]
post_rules => [
sub {
warn "Result of foo:", Class::MakeMethods::Composite->CurrentResults
}
]
);
SEE ALSO
See Class::MakeMethods for general information about this distribution.
See Class::MakeMethods::Composite for more about this family of subclasses.
perl v5.10.1 2004-09-06 MakeMethods::Composite::Universal(3pm)