Apologies guys, I'll make it more legible: I've managed to get a shell interface on my Epic IDE, so that I can run perl code and check output without having to revert to a command line interface. You can pass an argument(s) to your code this was also. Btw, I'm using WinXP with ActivePerl installed. Here's how its done: 1. Run->External Tools->External Tools Configutations... 'Main' tab: *********** 2. 'Name' field -> enter 'myShell' 3. 'Arguments' field -> enter: /C "cd ${container_loc} && perl -w ${resource_name} ${input_var1}" (note, for a full breakdown of the above variables, check out the url 'http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.user/concepts/concepts-exttools.htm') 4. The above variable 'input_var1' is one I created and I'll explain that below 'Common' tab: ************* 5.In the 'Common' tab, ensure the following radio buttons/tick boxes are checked: - Local file - Default - inherited (Cp1252) - External Tools - Allocate Console (necessary for input) - Launch in background 'Main' tab: *********** 6. Below the 'Arguments' field, click 'Variables...' button 7. Edit Variables 8. New 9. Enter 'input_var1' in the 'Variable' column and a default value in the 'Value' column' 10. OK, OK.. 11. Click 'Apply' and 'Run', and this will pass the value held in 'input_var1' to your code (can process in the usual way by dereferencing @ARGV[]->$ARGV[0]) 12. When you want to alter value held in 'input_var1' and hence value passed into your code, do the following: 12a. Window->Preferences 12b. You're now in the 'String Substitution' facility, where you can happily edit and save changes to 'input_var1' Hope this helps :)

In reply to Re^3: Command line options in EPIC (Perl + Eclipse) by Mike-oh
in thread Command line options in EPIC (Perl + Eclipse) by citromatik

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.