Forgive me (or reap me) if this is too off topic.

Disclaimer: I don't want to start a holy war with this, and I don't want to rant (or recieve rants :) about how one is greater than the other.

Background

Currently I have been using Perl almost exclusively for wrinting test automation. I am currently being merged into another team at the company I work for, and they use TCL/Expect almost exclusively. I have been told that I will still be able to use Perl (whew!), but I really need to pickup TCL as I will be integrating with existing code, and possibly be required to maintain or even write new TCL.

What I need to know

This is really a 3-part question.

Any pointers on picking up TCL with a C/Perl background?

  • Good books?
  • Good web sites?
  • Good (objective) comparisions to Perl?

    Any pointers to effecivly mixing Perl and TCL?

  • Easy ways to call TCL API's from Perl?
  • Can I use TCL/(TCL)Expect from perl? (I found Tcl.pm and Expect.pm, they will be very helpful and useful I'm sure, but I have not found a way to use the TCL-Expect from Perl)

    And last but not least

    How to port existing TCL to Perl quickly?

  • I want to proof of concept (at a later date) the fact that porting some of thier TCL (the code that is more suited to Perl) to Perl will not be hard. Is it?

    Thanks for any input you may have. I'm reasonably sure I can pick up TCL quickly, but getting pointers on how to integrate it with Perl and leverage my existing code base would be invaluable.

    "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!

  • In reply to OT (maybey) - Perl -- TCL by Rex(Wrecks)

    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.