Hey monks. I'm having a few problems with my latest project, thanks to pg for all the help, which is here. But i'm getting stuck here.
my $widget = $text2->Subwidget("text") ; tie *STDOUT, ref $widget, $widget;
Now I've never used this kind of code before I got it from the example included in the Module Crypt::CBC. Now from this piece of code Perl produces the error:
Tk::Error: Can't locate object method "TIEHANDLE" via package "" at cb +c.pl line 162.
Now I'm not to sure what this means, and also what is the package that it refers to
via package ""
. I would greatly appreiciate any help you can give as I'm beagáiní confused.

All the Best, Eoin...

If everything seems to be going well, you obviously don't know what the hell is going on.

Edit by tye, change PRE to CODE around long line


In reply to object method "TIEHANDLE" by eoin

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.