Grokbase Groups Perl macperl
FAQ

Search Discussions

745 discussions - 3,111 posts

  • Can someone explain why the following: echo alphabet | perl -e '$_=<STDIN ; if (m/pha/){print $PREMATCH, "\n"}' yields "" instead of "al", as I expected? Jonathan
    Jonathan LeviJonathan Levi
    Feb 3, 2016 at 1:59 am
    Feb 3, 2016 at 11:49 pm
  • Hi folks, Just pointing out that this mailing list is not for Mac OS X perl, but for MacPerl, the app that runs on Mac OS (Classic). There's a separate macosx@perl.org mailing list for Mac OS X. ...
    Chris NandorChris Nandor
    Mar 6, 2011 at 6:24 pm
    Mar 6, 2011 at 6:24 pm
  • I have made a small Applet containing a Perl script intended for use by folk not necessarily conversant with Perl. The script is inside the applet bundle, is called by AppleScript and works as ...
    Alan FryAlan Fry
    Mar 6, 2011 at 2:38 pm
    Mar 7, 2011 at 1:31 pm
  • hello, i try to install the Net::ARP module. here is the screen messages : --- ... ... CPAN.pm: Going to build C/CR/CRAZYDJ/Net-ARP-1.0.6.tgz Checking if your kit is complete... Looks good Writing ...
    Kurtz le pirateKurtz le pirate
    Mar 6, 2011 at 8:43 am
    Mar 6, 2011 at 8:43 am
  • Hi , I want to send email through MAc perl. I have an SMTP server and my OS is MAC. I used Mail::Sender perl module and was successfully able to send email through windows platform. But if I execute ...
    RapunzelRapunzel
    Nov 6, 2007 at 10:20 am
    Nov 10, 2007 at 1:11 am
  • Glad to see traffic on the list! Is it just me or are the docs for Mac::Files and Mac::MoreFiles hopelessly obscure? Example: FSpDirectoryCopy fails (a) when attempting to copy over an existing ...
    XiongXiong
    Jul 9, 2007 at 1:59 am
    Jul 9, 2007 at 1:59 am
  • Hi, Calling a macperl script (dog) from AS, with arguments a, b c, would read: tell perl to do script {dog, a, b, c} Assuming that a, b, c are strings, they are copied to @ARGV in dog. The problem I ...
    Louis PouzinLouis Pouzin
    Jun 29, 2007 at 1:36 am
    Jul 13, 2007 at 8:46 am
  • I attempted to build this module using CPAN, and got multiple errors. Please advise on how to successfully build this. Thanks, Mark in Tigard, OR
    Mark HarrisMark Harris
    Jun 8, 2007 at 1:55 am
    Jun 8, 2007 at 2:50 am
  • Tom, This is probably not the best forum for this question. The intended audience are users of MacPerl on OS 9 ("Classic"), and the list is pretty moribund. Try dbi-users@perl.org ( I know it's ...
    Chris SarnowskiChris Sarnowski
    May 1, 2007 at 12:20 am
    May 1, 2007 at 1:32 am
  • I got a MacBook two days ago. My wife has had one for a year and it looked like a good thing. I've been doing all this perl stuff on Debian & Solaris for almost a decade. But I'm not familiar with ...
    Tom AllisonTom Allison
    Apr 30, 2007 at 9:04 pm
    Apr 30, 2007 at 9:13 pm
  • Although I don't think this is an OS X specific issue I can't find any place to seek help. If someone knows of a better resource please let me know. I have installed GnuPG on a Tiger (10.4.7) server ...
    Dennis PutnamDennis Putnam
    Sep 19, 2006 at 4:22 pm
    Sep 19, 2006 at 6:33 pm
  • Good morning/afternoon/night, To avoid cluttering scripts with intricate expressions I tried references, with mixed results. e.g. instead of: delete $H{one}{two}{three}[0]{four} if exists ...
    Louis PouzinLouis Pouzin
    Aug 3, 2005 at 2:02 pm
    Aug 5, 2005 at 4:20 pm
  • Hi list, While tracking some mysteries in a script behavior I hit an interesting feature. "DELETE hash element" seems to create one, when it's missing. It may be normal and well known in the Perl ...
    Louis PouzinLouis Pouzin
    Aug 3, 2005 at 12:31 am
    Aug 3, 2005 at 1:52 am
  • Because I tried it. Or so I thought. Clearly I must have got mixed up in my multiple tests in the wee hours. - - #!/usr/local/bin/perl -w # test growing array of hashes use strict; $\ = "\n"; my %H = ...
    Louis PouzinLouis Pouzin
    Aug 1, 2005 at 2:09 pm
    Aug 1, 2005 at 3:22 pm
  • Hi everybody, Perhaps there are still some listeners on this list. Experiencing some hitches with a hash structure. In order to match data from two sources, I want to build a structure like this: ...
    Louis PouzinLouis Pouzin
    Jul 30, 2005 at 12:29 am
    Jul 30, 2005 at 6:12 pm
  • Hello list, I am experiencing a problem using macperl on OS9.2.2. I have a script that includes Net::FTP and uploads a file to an FTP server. This used to work just fine, but since two days I receive ...
    Martijn HoutmanMartijn Houtman
    May 27, 2005 at 9:59 am
    May 29, 2005 at 8:25 pm
  • Yet Another YAPC::NA 2005 Conference Reminder --------------------------------------------- YAPC::NA 2005 is Yet Another Perl Conference, North America, this year to be held in downtown Toronto, ...
    Gerard LimGerard Lim
    Apr 10, 2005 at 3:56 pm
    Apr 10, 2005 at 5:11 pm
  • Does someone have a tool to replace one string by some other string within all files of a folder tree recursively? (I once wrote a perl script for this, but it only functioned if I copied each file ...
    Detlef LindenthalDetlef Lindenthal
    Mar 25, 2005 at 10:45 am
    Mar 25, 2005 at 11:28 am
  • ---------- Yet Another Perl Conference, North America, 2005 Registration now open. Conference dates: Monday - Wednesday 27 - 29 June 2005 Location: 89 Chestnut Street http://89chestnut.com/ ...
    GlimGlim
    Mar 19, 2005 at 8:33 pm
    Mar 19, 2005 at 8:33 pm
  • Hi list, I would like to make a library subroutine that maintains the value of some local variables between successive calls. Is there such variable type in Perl ? As a substitute I've been using ...
    Louis PouzinLouis Pouzin
    Mar 12, 2005 at 1:25 am
    Mar 13, 2005 at 1:27 am
  • What would be the easiest way to display a number as dual / binary number? For example: 29 is to be displayed as 11101. In PHP this would work: <? printf ("%b", 29); ? but not so in Perl. Any idea? ...
    Detlef LindenthalDetlef Lindenthal
    Mar 4, 2005 at 11:30 am
    Mar 6, 2005 at 8:15 pm
  • YAPC::NA 2005 (Yet Another Perl Conference, North America) has just released its call-for-papers; potential and aspiring speakers can submit a presentation proposal via: ...
    GlimGlim
    Jan 25, 2005 at 2:48 am
    Jan 25, 2005 at 2:48 am
  • I call a subroutine with a reference to a hash element. In the subroutine I want to test if the element exists. If so, I want to get the key and the value of the element. I can't figure out the ...
    Louis PouzinLouis Pouzin
    Jan 24, 2005 at 2:10 pm
    Jan 24, 2005 at 2:52 pm
  • Hi all! I'm a Perl programmer and been using MacOS classic since 1998. I don't have spending money so I ain't gonna buy Mac X for the moment. Now, I'd like to code a MacOS9 app that captures audio ...
    THEARTOFWEB PRODUCTIONTHEARTOFWEB PRODUCTION
    Jan 20, 2005 at 6:32 pm
    Jan 20, 2005 at 6:32 pm
  • Does someone know how to find and unpack the colour table of a GIF image file? Any hint is appreciated, TIA; old year's and new year's greetings, Detlef Lindenthal
    Detlef LindenthalDetlef Lindenthal
    Dec 27, 2004 at 8:09 pm
    Dec 27, 2004 at 8:33 pm
  • Hi everyone, below is the code I've been working on. Can anybody give it a shot? [code] #!/perl # # MAC SHARED - Share your files on MacOS9 # Copyleft (C) 2004 , theartofweb@hotmail.com # # This file ...
    THEARTOFWEB PRODUCTIONTHEARTOFWEB PRODUCTION
    Dec 23, 2004 at 3:13 am
    Dec 23, 2004 at 3:13 am
  • I noticed a weird issue regarding RuntimeBuilder.dp below is the code i tried to compile: [code] #!/perl use strict; use warnings; use File::Spec; print File::Spec- rootdir() || "what the hell!?\n";; ...
    Giangaetano VituzziGiangaetano Vituzzi
    Dec 15, 2004 at 12:11 am
    Dec 15, 2004 at 1:07 am
  • Dear macperl@perl.org I'm a perl newbie and I've used MacPerl5.6.1.r2 (MacOS9.1) to run my perl scripts. It goes without saying that MacPerl is my all time favorite application on MacOS9! ...
    THEARTOFWEB PRODUCTIONTHEARTOFWEB PRODUCTION
    Dec 14, 2004 at 5:50 pm
    Dec 16, 2004 at 6:27 pm
  • Hello friends, I have a perl script that takes a text file with colon separated columns + a specification xls file, and generates an excel file. For this it uses Win32::OLE. I would like to port it ...
    Mohit SharmaMohit Sharma
    Dec 2, 2004 at 12:01 pm
    Dec 2, 2004 at 4:28 pm
  • I'm trying to build an external module with MPW and the Codewarrior IDE. After some problems with setting up my accesspaths, I'm reduced to seven compile errors. The first is as follows: Error : ...
    Tommy NordgrenTommy Nordgren
    Nov 21, 2004 at 8:32 pm
    Nov 21, 2004 at 8:32 pm
  • I'm learning MacPerl, and is currently trying to find out how to call C modules from MacPerl. I've generated the h2xs tool from h2xs.PL, and generated a test project Mytest. However, when I try perl ...
    Tommy NordgrenTommy Nordgren
    Nov 13, 2004 at 1:11 am
    Nov 16, 2004 at 12:50 pm
  • Hi, I have a data base of IP/domain names that I maintain as plain text files. The size is only a few hundred K octets. I use a hash (of of hashes) for various searches. Building the whole hash takes ...
    Louis PouzinLouis Pouzin
    Oct 22, 2004 at 12:32 am
    Oct 25, 2004 at 10:49 am
  • I just read your posting from 9 Aug 2004 14:18:16 -0000. Presumably you have solved your problem in the meantime. I haven't received any more recent digest from this list. Have you received some ...
    Louis PouzinLouis Pouzin
    Oct 20, 2004 at 6:30 pm
    Oct 20, 2004 at 6:30 pm
  • I have a huge database of files coming from a pc and I have to work on them on a mac, somewhere in between i have to clean the files for the mac application that'll be reading them. But before I ...
    PerlDiscuss - Perl Newsgroups andPerlDiscuss - Perl Newsgroups and
    Aug 9, 2004 at 2:18 pm
    Aug 9, 2004 at 2:18 pm
  • MacOS9. Of course. How do I launch an external application with parameters? I've looked at Mac::Apps::Launch, but that only seems to provide means to launch or kill applications, bring them forward ...
    Bart LateurBart Lateur
    Jun 28, 2004 at 11:48 pm
    Jun 29, 2004 at 7:46 am
  • Hi, i'm using a macperl script to call some external programs. That was working in the past but now i have the problem that MacPerl is just showing the rotating disc instead of going on with the ...
    Martin BuchmannMartin Buchmann
    Jun 9, 2004 at 2:43 pm
    Jun 9, 2004 at 3:40 pm
  • Hello all, I'm using MacPerl 5.2.0 on Mac OS 9.2, and I'm writing a script to compare files in 2 different folders. Some of these files are aliases (symlinks) to files located on a different volume ...
    LadhLadh
    May 25, 2004 at 4:52 pm
    May 25, 2004 at 8:58 pm
  • Hi, I have got two versions of a script to eliminate single line-feeds from a file. The first one does weird stuff - duplicating lines and messing the text file up. The second one works (I copied it ...
    Timothy DukeTimothy Duke
    May 10, 2004 at 1:50 am
    May 10, 2004 at 2:35 pm
  • MacPerl novice here, hoping someone can help me solve a problem. I'm running MacPerl 5.6.1. I've written a perl script to do batch updates on a bunch of files organized in subdirectories. The script ...
    Carl MillerCarl Miller
    Apr 10, 2004 at 2:06 am
    Apr 10, 2004 at 6:33 pm
  • I'm pretty sure it's been covered before, sorry for a repeat. I have a bunch of files that all, somehow mysteriously, end with a space character x'20'. BBEdit will open them just fine when ...
    Bill BeckerBill Becker
    Apr 8, 2004 at 2:11 pm
    Apr 9, 2004 at 11:18 pm
  • I just began using OS X, Panther to be precise. I have a number of MacPerl Droplets that I'd like to keep. They do work fine in Classic, however, over the long run I should probably convert them to ...
    H.-Ulrich (Uli) WienandsH.-Ulrich (Uli) Wienands
    Feb 27, 2004 at 9:19 pm
    Feb 27, 2004 at 9:19 pm
  • Dear list members, I just received this mail... What the heck is this? What could be suspicious about my mail, which BTW already appeard on the list? A hoax? Any insight is greatly appreciated. ...
    Peter J . HartmannPeter J . Hartmann
    Feb 19, 2004 at 9:43 am
    Feb 19, 2004 at 8:02 pm
  • Hello MacPerl gurus and gurettes, I'm running MacPerl 5.6.1r2 under OS 8.6, and having trouble downloading large (2+ Mb) binary files using Net:FTP. I've given MacPerl 40 Mb of RAM in the finder, but ...
    Scott MaxsonScott Maxson
    Feb 19, 2004 at 1:00 am
    Feb 19, 2004 at 5:44 pm
  • AppleScript is not a Unix shell, so the change-current-directory and list-directory commands are different. Also, if you are working with Kanji-Talk or other pre-Mac OS X Macintosh OSses, there is no ...
    Joel ReesJoel Rees
    Feb 17, 2004 at 7:57 pm
    Feb 21, 2004 at 11:18 pm
  • Hello, As the subject line says, I would like to ask you if it is impossible to call "do shell script" from MacPerl, using MacPerl::DoAppleScript($script). I tried: $script = <<EOS; do shell script ...
    Iyanaga NobumiIyanaga Nobumi
    Feb 17, 2004 at 3:03 pm
    Feb 22, 2004 at 3:07 pm
  • Hi List, I would like to write a script that renames image files based on the date and time they where taken (not the creation date). I learned that this data is stored in the EXIF meta data, and ...
    Ingo WeissIngo Weiss
    Jan 17, 2004 at 4:02 am
    Jan 17, 2004 at 5:20 pm
  • I just saw this on the AppleScript mailing list. John is probably not a member of this list but I'll bet someone here can help off list. Isn't there a module available? To: ...
    Doug McNuttDoug McNutt
    Jan 15, 2004 at 5:46 pm
    Jan 15, 2004 at 6:00 pm
  • Help! I'm getting these messages: # Can't locate MacPerl.pm in @INC (@INC contains: : Dev:Pseudo:). File 'Macintosh HD:SRC:printimeb'; Line 5 # BEGIN failed--compilation aborted. File 'Macintosh ...
    Bill BeckerBill Becker
    Jan 14, 2004 at 10:35 pm
    Jan 17, 2004 at 2:24 am
  • I'm trying to set up a progress bar, and although I understand that "\r" should do a carriage return without a line feed (to return to the beginning of the current line, so as to overwrite the line ...
    Timothy BaileyTimothy Bailey
    Jan 3, 2004 at 6:38 pm
    Jan 3, 2004 at 7:02 pm
  • Has anyone tried to collect voice data via a microphone input using Perl on a Macintosh? Thanks! Happy New Year... (G4, OS 9.2.2, MacPerl v5.6.1)
    Bill BeckerBill Becker
    Jan 2, 2004 at 1:06 am
    Jan 4, 2004 at 12:28 am
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupmacperl @
categoriesperl
discussions745
posts3,111
users398
websitesourceforge.net...

Top users

Chris Nandor: 435 posts Bart Lateur: 112 posts Louis Pouzin: 98 posts Detlef Lindenthal: 94 posts Bart Lateur: 87 posts Axel Rose: 85 posts Ronald J Kimball: 84 posts Scott R. Godin: 66 posts Robinmcf: 65 posts Morbus Iff: 61 posts Alan Fry: 58 posts Nicholas G. Thornton: 53 posts Thomas Wegner: 49 posts Greenblatt & Seay: 46 posts Katherine Richmond: 40 posts Martin Buchmann: 38 posts Rscook: 37 posts Scott R. Godin: 37 posts Keary Suska: 34 posts Bruce Van Allen: 33 posts
show more