Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
> Where can I find discussions on the design of this thing?
In mailing list of the project on SF: http://sourceforge.net/mail/?group_id=55705

> Why did you decide to limit this to perl5.8?
Well, since HWX doesn't use a normal Perl, not only a Perl with some extra modules, it use the Perl that we release. We got Perl 5.8.0 to use the last resources, specially Threads! I don't see why spend time making the interpreter with earlier version! We don't have much peoples working on that yet, we need to do the priority things first!

> Why'd you decide you had to mess with toke.c ?
I already answer that. To enable DotRef in the native level of the syntax, this means make it works in any part of Perl, including eval() and in the check syntax of the code. Filter::Simple, the other way to do that, doesn't have all the resources that I want for DotRef, specially the use inside eval()! Well, if it doesn't do what I want, I made my own.

> Does it break perl as we have come to know it? (i cannot imagine how it could not ).
NO! All the normal syntax was ok. DotRef first look if the class exist, if not it return a normal concatenation. But if you stop one minut you will see that no one will write:
obj.aaa.bbb.ccc
because this is the same of: objaaabbbccc
DotRef, only accept \w and no space between the dots.

> Have you added any tests to the distribution?
Not yet. The GUI things will be hard to make a good test, and the DotRef was ok.

> Do you still use Mattia's wxPerl stuff, or do you define your own bindings?
Yes, is the same wxPerl, but is my own compilation. The only thing that I have added to wxPerl is the Wx::ActiveX and Wx::ActiveX::IE modules tha I made, and wasn't in the standart wxPerl yet.

>(how dependent is HWX really on your custom perl binary , and should it be?)
Well, it uses Class::DotRef. But inside the HWX and GML I tried to not use it to enbale it in other Perl versions, if in the future someone want it. About the "custom perl binary", the custome thing is for the PerlBin, and PerlBin is a tool to publish your app, not to run.

>Have you had any thoughts about abstracting PerlBin (real cool) away from HWXPerl, so it can work with many perl versions?
If you take a look in the changes that I made in the source of Perl binarys, you will see that it will works in any OS, since was simple things with the use of basic resources of C. All the other things are made with Perl codes, you can see a small script inside the source, to make it portable and simple.

> Does it work on different platforms other than win32?
Yes, I think that it works in any, you just need to compile it and make the same changes in the source for each OS inside Perl-src.

>I modified hello.pl to use some modules, and I created the binary without issues. Adding a 'lib' with those modules to where my hello.exe was worked like a charm. I gotta say I'm real interested in this PerlBin thing.
Well, is soo simple! I say again, if it doesn't do what I want I make my own. :-P

>In fact I was so interested in this idea (an open source alternative to perl2exe or PerlApp), that one night after some cb banter The Perl Compiler (turning perl scripts into binary executables) and created http://perlcompiler.sf.net. The project kind of died, since the one person who knew enough c/c++ and perl internals to get us started got stuck behind a NDA (non-disclosure agreement), but it'd be hella cool to resurrect it.
Well, I think that the best way is to do some scrirpt or program that get the standart source of Perl, make the changes. And the user just compile and use Perl normally, and when it want to "compile" use something like PerlBin. In the project you can release the binarys for diffenrent OS too. I hate perl2exe and PerlApp, they are selling something soo simple to do! About PerlBin, when some other priority things was made, I will link it with Zlib, to compress your script and your lib inside the binary. Talk with Marcus, one of the other developers of HWX, it was very interested on this too. You can find the e-mail in the file Changes.HWX in the CVS.

> How difficult would it be to make PerlBin work on earlier versions of perl (reading the description, I imagine it wouldn't be too much work)?
I think that will be just copy and paste!

>nice job ++
Thanks. ;-)
Hey, join to the HWX team, or just sign the mailing list for news.

Graciliano M. P.
"The creativity is the expression of the liberty".


In reply to Re: (more questions) Re: HWXperl - The place for GUI apps in Perl by gmpassos
in thread HWXperl - The place for GUI apps in Perl by gmpassos

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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (7)
    As of 2014-07-11 08:30 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      When choosing user names for websites, I prefer to use:








      Results (221 votes), past polls