Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Perl 6 shocking revelations #1

by Starky (Chaplain)
on Apr 28, 2008 at 06:02 UTC ( #683244=note: print w/replies, xml ) Need Help??

in reply to Re^2: Perl 6 shocking revelations #1
in thread Perl 6 shocking revelations #1

With respect to Perl5 objects, I would guess there are three things a Perl5 hacker would be interested in:
  1. A simple Perl5 vs. Perl6 example of syntax showing basic inheritance under Perl5 and Perl6
    • It will just give Perl5 hackers a reference point. "Oh, what used to be that now looks like that!"
  2. How can the new architecture be best used to improve existing code? Perhaps you could provide one or two examples of the "low hanging fruit."
    • Think about the question that current Perl5 coders will ask: "What is the motivation to change?"
  3. How will legacy code have to be changed?
    • For example, if you are using, say, a CPAN module that has been updated to the new object model, what are the most likely "gotchas" that will trigger errors?
    • Are there particularly widely used CPAN modules that you would expect to take full advantage of more restrictive typing or creative polymorphism (and thus possibly present some issues to legacy code)?
An alternative to sprinkling verbiage throughout the paper would be to create a 1-2 page appendix.

P.S. And add a table of contents.

Replies are listed 'Best First'.
Re^4: Perl 6 shocking revelations #1
by BrowserUk (Pope) on Apr 28, 2008 at 06:45 UTC
    P.S. And add a table of contents.

    But only if the references in the toc are clickable links.

    Most of the pdfs I read that have tocs are dead text and give references in units, be they page numbers or chapter or section numbers, that bear no relationship to the actual pages as displayed in the bookmark section. Which makes them all but useless. Just so much extra junk that must be navigated to get to the real article.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      My thoughts exactly. PDF doesn't have separate screen/print views like HTML CSS, by design, so I can't have a print-only TOC. I added a brief TOC that's not pages and pages long, and turned on the live navigation in the default view.
      Most of the pdfs I read that have tocs are dead text and give references in units, be they page numbers or chapter or section numbers, that bear no relationship to the actual pages as displayed in the bookmark section.

      I personally believe that as an old time LaTeX aficionado I should beg to differ. I find that most documents compiled with hyperref and either the standard classes or memoir.cls (and surely the Koma ones as well, although I have no experience with them) come out with all sorts of appropriate hyperlinks in the toc and elsewhere. Of course, like anything else in LaTeX, one may have to fiddle with some setting to fine tune the appearance of them and some other details. In this sense, most articles on arXiv are also duly hyperlinked.

      If you can't understand the incipit, then please check the IPB Campaign.
Re^4: Perl 6 shocking revelations #1
by John M. Dlugosz (Monsignor) on Apr 28, 2008 at 12:22 UTC
    Table of contents: Click on the icon to display the TOC or page thumbnails. Or do you specifically need an inline table for printing? I didn't think of that.

    I applied some of your ideas in version 1.1, which I updated at the URL.


      The "Perl 6 syntax" table at the top of page 3 is extremely helpful, as is the TOC.

      Overall, a fun read and a nice piece of work.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://683244]
[hippo]: Try it and see. Your computer won't explode.
[Corion]: length will tell you the length of a string.
[Corion]: But if you are parsing CSV, again, let me point to Text::CSV_XS, which you should use instead
[hippo]: +1 for Text::CSV_XS
[ovedpo15]: Im not allowed to use additional modules, so I can't use it. looking for a simple regex to do this task though..
[Corion]: Ah, so this is homework? Then most likely, you should review your course material closer. It would greatly surprise me if the course material wouldn't mention the topics that will be used in the homework...
[Corion]: I already showed you the simple regex to match the last part of a string without a comma in it
[Tux]: Corion++ hippo++
[ovedpo15]: it isn't homework. its a module I use at work. The process to add additional module isn't worth it. p.s never heard a university course which teach perl

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2018-05-27 10:41 GMT
Find Nodes?
    Voting Booth?