if ($i) {
while ($i) { die(); }
}
if $i eq 'sad' or 'happy' or whatever feelings, as per the condition, which you have written you will die,
My first change wold be
@unhappy_events = ( add all unhappy events according to you )
if ( grep(/$i,@unhappy_events) ) {
while ($i) { die(); }
}
If you change the poetry as per the condition, which I wrote, then obviously you will have to change the rest of lines.
I appreciate your good effort.
because, your first writeup in my great perl monk's group is a poem.
"Keep pouring your ideas"
|