Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Somersaulting camel

by educated_foo (Vicar)
on Jun 28, 2002 at 08:08 UTC ( #177959=note: print w/replies, xml ) Need Help??

in reply to Somersaulting camel

Is there a reason you use the unsightly-long name "system" instead of backticks ($^O=~Win?`CLS`:`clear`;)? Does it get "Eye-dropped" in less characters? If you're hard-pressed for characters, you could probably also get away with $^O=~W to test for Windows -- I can't think of another system with a capital 'W' in its name off-hand.


Replies are listed 'Best First'.
Re: Re: Somersaulting camel
by eyepopslikeamosquito (Chancellor) on Jun 28, 2002 at 09:03 UTC

    Thanks for the suggestions! I will see if I can use them to squeeze more out of a solution that I thought was dry as a raisin. BTW, I am not a good golfer, miles behind the great Ton Hospel and Mtv Europe, that's why I keep prodding better golfers to help me. I had thought of using backticks but doubted it is portable to Windows 98 because I think you have to do it like this.


    and I don't think >&2 is portable to Win98. Still, who cares about that? ;)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://177959]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-10-21 09:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (288 votes). Check out past polls.