Perl can execute UNIX commands doing something that took me forever to figure out and is just really weird. I couldn't pray to tell you where to find it anymore but here is the answer. I could let you look for it forever HAHAHA! but I'm nice.
#!/usr/bin/perl -w open I, "| ps -ef" or die; close I;
Now remember where it says "open I"....."I" can be anything. It could be "Open PROCESS" it doesn't matter. The "close I" has to be there though or "close PROCESS". You can make that handle anything you want it to be. Then after that you can use any UNIX system command. ls, cd, ls -al, ftp, it will open anything so far as I've used it.

HAVE FUN!
The Brassmon_k

In reply to Re: I may be remotely depressed. by brassmon_k
in thread FTP question by maslas

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.