Cool the reason I wanted to know that is because I'm going to play a little trick on my buddy
He thought it was funny to alter my autoexec.bat on my PC at work so it would go into a booting loop
You know the old trick...Type autoexec.bat and the bottom of the autoexec.bat and it will go into a boot loop
Anyway I'm getting him back. I'm going to do it on his UNIX machine (Note this is just a user terminal not something
important because I'm not a jerk) Anyway It's going to be kind of like the infamous "cookie" script except it will make
him guess something he can never guess. It will keep asking for different things and the answer will never relate to the
question being asked and I needed the CTRL-C deal so I could stop him from terminating the script. I already took care of it
if he tries to open up another shell and terminate the shell process.

Or I could just do this one....I like this one...Make an alias for the cd command that does a kill -9 on the openwindows process
so whenver he does a cd (It takes a few tries to figure out what's killing open windows)you get booted out of openwindows. It's really fun to watch.
Hey were having fun and being inventive at the same time.

The BrassMonk

In reply to Re: (jeffa) Re: Control C in PERL? by brassmon_k
in thread Control C in PERL? by brassmon_k

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.