Slashdot Mirror


MacPerl 5.6.1 Released

pudge (apple.slashdot.org editor and MacPerl Maintainer) writes "MacPerl 5.6.1r1 is the first release of MacPerl in four years. It is now based on perl 5.6.1 -- actually on the latest unreleased 5.6 sources, so MacPerl is the most advanced release of perl ever -- and support for MacPerl is now in the perl core, for both 5.6 and 5.8. MacPerl can also be built entirely with freely available software. And, like its predecessor, it runs on Mac OS X under the Classic environment. Read the announcement, and see macperldelta for details on what's changed."

18 of 122 comments (clear)

  1. Platform Agnostic... by reverius · · Score: 1, Informative

    Perl has claimed to be platform agnostic, but has been heavily unix (and x86) centric. It's good to see opportunities to use Perl on other platforms, as it is a very useful language.

  2. Most advanced? by itarget · · Score: 2, Informative

    It is now based on perl 5.6.1 -- actually on the latest unreleased 5.6 sources, so MacPerl is the most advanced release of perl ever

    "Most advanced" is often the antithesis of "most stable". I'd be a little leery about using it until it's been hammered on a bit.

    --

    "Where shall the word be found, where will the word resound? Not here, there is not enough silence." -T.S. Eliot
    1. Re:Most advanced? by pudge · · Score: 2, Informative

      Nah, that's just a half-joke. The additions to the maint-5.6 tree over the last year since the 5.6.1 release have all been bugfixes and minor changes.

  3. Re:Why the hell would you run it under Classic? by pudge · · Score: 2, Informative

    Because Mac OS X perl doesn't (yet) have hooks into the Mac OS API.

  4. Update by BrianGa · · Score: 3, Informative
    The official MacPerl site, which includes a downloads page, might be of interest.

    Highlights In MacPerl 5.6.1 shows updates include:

    • Update from 5.004 to 5.6.1 sources
    • Update to GUSI 2
    • New and improved Shuck
    • Many bugs fixed
    • More modules and utilities included
  5. Perl lead me to linux by nullard · · Score: 3, Informative

    MacPerl drove me nuts under the old MacOS. I had to do some perl development and I needed to use some database modules that were unstable ondr MacOS. I tried to use them under Windows using ActiveState, but there the modules were just not available. I ended up HAVING to learn to use Linux (and install) in order to get my work done.

    Since OS X has perl, I do my perl development on my Mac again. It's good to see MacPerl being developed, but its usefulness has diminished -- the target audience uses an operating system that is being phased out.

    --


    t'nera semordnilap
  6. MacPerl was ok, before Macs ran Perl by krog · · Score: 2, Informative

    it's ok for Classic (OS 9) i guess. under OS X you can just use the regular Perl sources... in fact /usr/bin/perl is preinstalled.

    one might say that with the advent of OS 9, *MacPerl is dying :)

  7. Re:Is this relevant? by pudge · · Score: 5, Informative

    I use MacPerl to develop the very site you're posting on ... does that count? :)

    Sure, you can't fork, but that's rarely needed. I do command-line stuff with MacPerl (both via ToolServer in BBEdit and in MPW) often. And I use Mac::Glue to do whatever I might want to do in AppleScript, without AppleScript's performance penalties or horrific syntax. ;-)

    For example, I have here a little script where MacPerl on my Mac OS box talks to my Mac OS X box and asks iTunes on Mac OS X what track is currently playing, and then it drops that information into my clipboard.

    NP: It's Alright For You - The Police (Message In A Box - Disc 1)

  8. Re:Advantage?? by pudge · · Score: 3, Informative

    Because, as noted above, perl doesn't have access to the Mac OS API under Mac OS X yet. This will change, hopefully, but for now, if you want to run your old scripts that call Mac::Windows, Mac::Events, etc., then you need MacPerl, even under Mac OS X. I hope that before the end of the year, there will be no reason to run MacPerl under Mac OS X.

  9. Re:Why doesn't it have a native OSX version? by TheRedHorse · · Score: 2, Informative

    Perl 5.6 is included with OS X. You can run scripts from the terminal. Go here for more info from the apple website

  10. Re:Soon to be vaporware by nullard · · Score: 2, Informative

    MacPerl is not an Apple product. Also, I believe your definition of "vaporware" is incorrect:

    Vaporware is software or hardware that is either (1) announced or mentioned publicly in order to influence customers to defer
    buying competitors' products or (2) late being delivered for whatever reason. Most computer companies have from time to time
    delivered vaporware, either by calculation or unintentionally.

    --


    t'nera semordnilap
  11. Re:Is this relevant? by SmittyTheBold · · Score: 2, Informative

    Well, on OS X you are better off using the perl built-in to OS X. I think the part in the story referring to running in classic was basically to say that MacPerl is still an answer for those using OS 9 or earlier.

    From my OS X box:
    [chrisl:~] lindemer% perl --version

    This is perl, v5.6.0 built for darwin


    Now, if you're running a process in MacPerl on OS X...you will probably have to deal with timeouts the first run or two. Classic takes a minute or so to launch, and that time can be much more (or less) depending on your hardware and how stripped-down your OS 9 environment is.

    --
    ± 29 dB
  12. Re:Is this relevant? by pudge · · Score: 2, Informative

    If you need to use MacPerl, well, Classic can take a long time to load, depending on your system. Anywhere from under a minute to several minutes. Once running, the script can run in less than a second, or a few seconds, depending on your system. Classic is a memory pig, but its performance is mostly the same as running Mac OS 9 by itself.

  13. Re:Perl + Aqua by hobbs · · Score: 4, Informative

    Apple currently has people working on porting Tk to Aqua (based on Tcl first, which ships default with OS X). Once that is done, whichever languages hook into Tk through Tcl will get native Aqua L&F (i.e. Python, Ruby). Perl still uses a modified Tk 8.0 (pre-unicode days), so I don't know what effort it would take to update Perl/Tk to a modern Tk. I've heard from Nick Ing-Simmons about the possibility a while ago, but he's gone quiet in the interim...

    BTW, Tk does work on OS X natively now, just via X.

  14. Re:Perl + Aqua by hysterion · · Score: 3, Informative
    Are there any plans underway to give Perl acces to Aqua, like with Perl/Tk or GTKPerl? I'd really like to be able to write perl scripts with simple, non-XFree86 GUIs on OSX, the way I can use various toolboxes on Unix to create GUIs.
    Sign the petition!
  15. It's about time! by seanadams.com · · Score: 3, Informative


    <plug>This is great news for Ethernet MP3 player

    The open development team behind the SliMP3 has created one of largest Perl programs in history. We've always ensured that the software is easy to install, and supports as many platforms as possible. That means we have to do certain things like avoiding fork(), and making sure that the Time::HiRes module is available with the distribution, pre-compiled for many architectures. We also deal with the path name differences between Windows and Unix. Those are the main differences - there are about a half dozen other little things, but all in all Perl is a great language and runs well on all platforms.

    Version 1.0 of our software *was* compatible with MacOS9. We dropped support for OS9 after that, due to the numerous limitations and problems with the outdated MacPerl. OSX has never been a problem, because it's just Unix and it comes with Perl 5.6.1.

    However, now that MacPerl 5.6.1 is available, there is a good chance that we'll be able to get the product working on MacOS Classic again. I am starting work on it today!

    Hooray for the MacPerl team!

  16. 5.7 by tmark · · Score: 3, Informative

    It is now based on perl 5.6.1 -- actually on the latest unreleased 5.6 sources, so MacPerl is the most advanced release of perl ever

    Surely you mean this is the most advanced release of perl ever for the Mac, as the developer's release is at 5.7.3.

    1. Re:5.7 by babbage · · Score: 2, Informative
      Well yeah, but if you read Pudge's whole press release on this, the point isn't just that MacPerl has been brought up to date, but that MacPerl is now substantially in sync with the Perl available for other platforms. Patches needed to get Perl working well on Macs have been merged back into the same tree as standard Perl, and it should be build cleanly with free compilers now. As a result, it should be easy to keep MacPerl and regular Perl in sync more or less from now on (unless Perl6 screws things up again, but that shouldn't be a problem I would think).

      Also, note that 5.6.1 is the current stable version, while 5.7.3 is the current unstable branch. Obviously .7.3 is a higher value, but it's still considered an experimental code branch. You can't take a jab at MacPerl for just switching to 5.6.1 unless you also want to take a jab at RedHat, who also made the upgrade to 5.6.1 this week. Upgrading MacPerl to 5.7.3 might not be worth the effort, as 5.8.0 is scheduled to come out this spring (and we're likely to see several more 5.7.n releases between now and then). If 5.8 comes out and MacPerl doesn't keep up, *then* you can complain, but for now MacPerl has (finally!) reached Parity with the main branch.