[Chicago-talk] [PERL.COM]: Iterate the Sprogs

Andy_Bach@wiwb.uscourts.gov Andy_Bach at wiwb.uscourts.gov
Mon Jun 27 09:18:55 PDT 2005

Couple of very interesting 'frameworks' for perl, Sprog:
(good/funny article, too)

and Catalyst:

oh, and iterators:

----- Forwarded by Andy Bach/WIWB/07/USCOURTS on 06/27/2005 11:11 AM -----

                 Perl.com update
       The Email for www.perl.com Subscribers

Accelerating Change 2005:
Artificial Intelligence and Intelligence Amplification

September 16-18th, Stanford University

Forty-five leading change agents. 350 future-aware attendees.
People and ideas that accelerate our world. Come to understand
and make your own extraordinary future. Enter "AC2005-MAKE"
to register for $350 before June 30th.

Greetings, readers.  This is the once-every-two-weeks Perl.com newsletter
that contains pointers to news, opinions, and articles that pass through

* Perl News in Brief

The Austrian Perl 6/Parrot/Pugs hackathon has ended, and the YAPC::NA Perl
Hackathon has begun.  Parrot architect Chip Salzenberg has posted his
impressions of APW:


as well as a new set of design goals for Parrot:


Pugs creator and primary developer Autrijus Tang always keeps his journal
up to date, too:


Expect things to move more quickly through the weekend and YAPC::NA next

* Perl.com Articles

One of the most useful design patterns in programmer-hostile languages is
the Iterator pattern, which makes it much easier to loop through elements
of a list or collection.  Fortunately, Perl is a programmer-friendly
language and doesn't need an advanced concept for that because the
built-ins are sufficient.  This doesn't mean that all of the goals of the
Iterator pattern are useless, though--it's still nifty for things such as
infinite lists or streams.  Joshua Gatcomb's "Understanding and Using
Iterators" shows several problems that iterators can solve and
demonstrates how to use them:


An oft-repeated idea is that of visual programming, where non-programmers
(or bad typists, perhaps) create useful programs by manipulating icons
into pipelines and stylized machines.  It's rarely worked well in
practice, but for certain classes of applications, it may be appropriate.
Grant McLean's Sprog project is a sort of toolbox for data manipulation
that allows people who don't write programs to write programs.  It's
clever, but you may have to see it to believe it:


Pity the Perl 6 summarizers (far more than usual).  While Matt was moving,
Piers had to summarize two weeks of mailing lists.  The result is as clear
and entertaining as usual ... but, ow:


Remember, Perl.com will report live from YAPC next week (at least, its
editor will), so check back for weblog entries and who knows what else!

Has two branded wooden nickels already,
- c
chromatic at oreilly.com
Editor, Perl.com, et cetera

The 7th Annual O'Reilly Open Source Convention
August 1-5, Oregon Convention Center, Portland, Oregon

2005 O'Reilly Open Source Convention highlights:
- Hot Topics: AJAX, Ruby on Rails, and Mozilla
- Keynotes and High Order Bits from: Mitchell Baker, Miguel de Icaza,
  Drew Endy, Nick Gall, Tim O'Reilly, Kim Polese and many others
- CodeZoo/SpikeSource Testfest Lounge: download high-quality, reusable
- Tracks and Tutorials: Perl, Databases, Java, Python, PHP, Linux,
  Security, Apache, Ruby, XML.

*** Featured Articles ***

Data Munging with Sprog
Sprog is a graphical programming environment written in Perl, programmable
by connecting components visually and setting their properties. Sure,
you've heard that promise before--but Grant McLean demonstrates how to
retrieve and munge tabular data from a web page into LDIF files without
writing a lick of code.



This Week in Perl 6, June 8-21, 2005
Piers Cawley summarizes the Perl 6 mailing lists with the Austrian Perl
Hackathon, rejiggered registers, frames, and calling conventions in
Parrot, and lots of bikeshed painting in Perl 6 language.



Understanding and Using Iterators
Unlike some other programming languages, Perl makes it easy to process
lists of items. Lists and arrays aren't always suitable for every task,
though; sometimes you need something more powerful. Sometimes you need an
iterator. Joshua Gatcomb explains where iterators are useful and how to
use them.



Independently Parsing Perl
Stodgy, boring languages have great editors. What's keeping Perl from
refactoring support, perfect syntax highlighting, and other advanced
transformation techniques? It's really difficult to parse Perl.
Fortunately, Adam Kennedy's PPI project provides a standalone Perl parser
that operates correctly on all but 28 of the 38,000 CPAN modules. Here's
how it works and what you can do with it.



This Week in Perl 6, June 1-7, 2005
Piers Cawley summarizes the Perl 6 mailing lists with Parrot 0.2.1
released, mod_parrot bundled with mod_pugs (or vice versa), an end to the
reduce operator debate, and a paean to Parrot lead architect Dan



MVC frameworks are hot again in the web development world. Perl has a rich
array of choices. One new contender is Catalyst, an elegant platform for
database-backed applications. Developers Jesse Sheidlower and Sebastian
Riedel explain the design goals and build an Ajax-powered wiki in 30 lines
of code.



Free on Safari
Visual Studio Hacks: Master Projects and Solutions

The majority of the time you spend working with Visual Studio will be
spent inside of a project or a solution. Projects are primarily used to
organize source code while solutions collect a number of projects under
a single structure. Chapter 1 of Visual Studio Hacks shows you how to
create and manage projects and solutions, manage assembly references,
and dissect the formats of project and solution files.

If you like this chapter, read the whole book (and up to nine others)
on Safari with a free trial subscription:

Interested in sponsoring the Perl.com newsletter? Please email us at
advertising at oreilly.com for rate and availability information, or
contact Pamela Fabrega-Frager directly at 503-731-9733. Thank you!
To change your newsletter subscription options, please visit

For assistance, email help at oreillynet.com

O'Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
(707) 827-7000

More information about the Chicago-talk mailing list