http://qs321.pair.com?node_id=126993

if ($things ne "good") { change($attitude->{"life"}) or life("ends"); }

Replies are listed 'Best First'.
Re: change your attitude
by frankus (Priest) on Nov 22, 2001 at 22:44 UTC
    hmm, stoicism is great ( in other people ;^), but I prefer:
    change *things while $things ne 'good';

    --

    Brother Frankus.

    ¤

      How about:

      if ($things ne 'good') { if ($things->can ('change')) { change $things; } else { change($attitude->{"life"}) or life("ends"); } }

      pike

        if ($things->can ('change')) { change $things;
        I belief that you can change anything and so this if-clause ain't necessary. If you don't believe me, remeber the saying "There's more than one way to do it!"
      we're talking about very different aspects of life... aren't we?
        It's a broad topic ;^)

        Sometimes, we need to change our attitudes; other times we need to change our environment.
        Knowing when to do which is a matter of perspective, preference and experience.

        Positive affirmation makes it possible to convince yourself and adapt to situations.
        Sometimes this can cause stagnation when used unwisely. I'm not implying this is the case.
        I merely sought to provide a counter-point to your view not contradict it ;0)

        --

        Brother Frankus.

        ¤