A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.
292
reputation
1
5

gloomy.penguin

.

#!/usr/bin/perl 

package me; 
# brave new world - huxley
# Was and will make me ill. 
# I take a gramme and only am. 

sub exist {
   my $class = shift; 
   bless {'am'=>'kim'}, $class;     
}

sub think {
   my ($self,$thought) = @_;
   $self->{'am'} = 'ill'; 
}

sub take {
   my ($self,$something) = @_;
   $self->{'am'} = undef 
      if ($something =~ /gram(me)?(s)?/i);
}

sub am {
   my $self = shift; 
   print $self->{'am'} 
         if defined $self->{'am'}; 
   print "\n";
} 

my $i = me->exist();  
   $i->think('was');  
   $i->am(); 
   $i->think('will');  
   $i->am(); 
   $i->take('gramme');
   $i->am(); # now nothing
2
answers
0
questions
~6k
people reached
  • Portland, OR, United States
  • Member for 5 years, 3 months
  • 3 profile views
  • Last seen Apr 30 '19 at 19:53

Top tags (8)

Score 14
Posts 1
Posts % 50
Score 14
Posts 1
Score 14
Posts 1
Score 14
Posts 1
Score 14
Posts 1
Score 2
Posts 1

Top posts (2) All Questions Answers | Votes Newest

Badges (6)

Gold

Silver

1

Rarest

Bronze

5

Rarest