Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
The above node Re: Tk vs. wxPerl is obviously IMVHO, so *for me* procedural programming is easy than OOP.

For example, *for me* is easier to write the hello world written in Tk
use strict; use Tk; my $mw = MainWindow->new( -height => 100, -width => 350); $mw->title ("Hello, world!"); MainLoop;
than wx one:
use strict; use Wx; package MyApp; use vars qw(@ISA); @ISA = qw(Wx::App); sub OnInit { my( $this ) = shift; my( $frame ) = MyFrame->new(); $this->SetTopWindow( $frame ); $frame->Show( 1 ); } package MyFrame; use vars qw(@ISA); @ISA = qw(Wx::Frame); sub new { my( $this ) = shift->SUPER::new( undef, -1, 'Hello, world!', [200,200] , [350, 100] ); return $this; } package main; my( $app ) = MyApp->new(); $app->MainLoop();
So IMVHO to programming wxPerl you have to know more Perl than to programming with Tk.

Documentation issue: Tk has 3 books from O'Reilly, several chapters inside other books (Advanced Perl Programming, Professional Perl Development, others?), 1 newsgroup with years of posts, searchable with or with, years of development with tons of scripts aka large community.

wxPerl unfortunately has only a mailing list without a working search engine and few excellent tutorials.

But Perl/Tk is years old and wxPerl is young. This scenario is IMVHO the normality.

DLL issue: my dir command on win32 says those dimensions. Only this.

Update: fixed typos

In reply to Re: Re: Re: Tk vs. wxPerl by dree
in thread Tk vs. wxPerl by batkins

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (13)
    As of 2015-11-24 22:50 GMT
    Find Nodes?
      Voting Booth?

      What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

      Results (664 votes), past polls