Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

RFC: PERL, Windows, Windows Editors & system calls

by brusimm (Pilgrim)
on Dec 05, 2006 at 19:23 UTC ( #587957=perlmeditation: print w/replies, xml ) Need Help??

PERL: Active State, 5.8.8 build 819
EDITOR: Open Perl IDE, Release 1
an integrated, development environment

In my efforts to learn PERL, and presently restricted to a windows environment (Though I recently installed Cygwin to improve my mental state of being) I tend to like cleaning up my output window to see the newest output, making the screen uncluttered. To do this, I use the command  system 'cls' But then when I was running / testing my code, my editor kept giving priority to other windows. IE: I hit F9, and my IE window would pop up in front of my editor. It was most challenging to my normal good mood.

My discovery is this: Windows, my editor, and system 'cls' don't like each other. The moment I removed the call from my script, my output started showing up in my output window of my editor and I was no longer having my active window move to the back of all the other windows.

Granted, I am on windows... I apologize - but for those of you having any similar issues, that was my discovery for the day.

I hope this helps someone

Replies are listed 'Best First'.
Re: RFC: PERL, Windows, Windows Editors & system calls
by BerntB (Deacon) on Dec 06, 2006 at 02:09 UTC
    Not being a real expert on Windows development or anything, but I had good experiences with Ultraedit (and, as always, with Emacs).

    Cygwin saved my sanity too. Just wished I had found out about it faster.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://587957]
Approved by Old_Gray_Bear
[Eily]: Maybe the puns in his dialogues were somehow kept through translation, but I can tell he lost his accent
[LanX]: qui?
[Eily]: Astérix
1nickt gives up on finding a Perl YAML parser that supports hash merging. In 2017.
[LanX]: Oh yes true, he lost his accent! xD
[Eily]: and since his name is a modified version of astérisque (asterisk), which is a typographical symbol, I think it's even funnier that he would lose a diacritic
[Eily]: the pun doesn't work so well with "he lost a diacritic" though :P

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2017-05-24 14:56 GMT
Find Nodes?
    Voting Booth?