Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
PLATFORM: Windows XP
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


In reply to RFC: PERL, Windows, Windows Editors & system calls by brusimm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2021-05-14 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (150 votes). Check out past polls.

    Notices?