Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • This is just crying to be rewritten using Mac::Glue. :-)

    #!/usr/local/bin/perl
    use warnings;
    use strict;
     
    use Mac::Glue ':all';
     
    my $itunes = new Mac::Glue 'iTunes';
     
    $itunes->activate;
     
    my $lesson = $itunes->display_dialog(
        'Enter the lesson:', default_answer => ''
    )->{text_returned};
     
    my $playlist  = $itunes->prop(view => window => 1);
    my @selection = $itunes->prop('selection')->get;
    my @tracks = @selection
        ? @selection

  • I know this journal entry is ancient, but I was considering getting that same music lecture series and would appreciate a capsule review.
    • I just finished Robert Greenberg's Operas of Mozart [teach12.com], which I think is much better partly because I've gotten over his speaking style. The information is compelling and interesting, but his speaking style and cadence grates on me. His comedy is poorly delivered, but he just keeps on trying.

      That's just my opinion though. Everyone I know who has listened to Greenberg's levtures have been delighted by them.

      I'll be in New York next week, so you can hear one of the lectures if you like. They're all on my laptop