Re: BOF at WWDC?

2005-06-06 Thread _brian_d_foy
In article [EMAIL PROTECTED], Rich Morin [EMAIL PROTECTED] wrote: Would anyone be interested in attending a Perl BOF at WWDC? Is there something like this already in the works? So, anyone else interested in such a thing? Maybe something over beers wednesday night? I'm a WWDC virgin so I

Re: BOF at WWDC?

2005-05-31 Thread _brian_d_foy
In article [EMAIL PROTECTED], Randal L. Schwartz merlyn@stonehenge.com wrote: Rich == Rich Morin [EMAIL PROTECTED] writes: Rich Would anyone be interested in attending a Perl BOF at WWDC? Is Rich there something like this already in the works? There's certainly my lunch on wednesday

Re: set photo properties in iPhoto

2005-02-21 Thread _brian_d_foy
In article [EMAIL PROTECTED], Chris Nandor [EMAIL PROTECTED] wrote: But there is a bigger problem. From `gluedoc iPhoto`, under Classes = photo: date (idat/utxt): The date of the photo. (read-only) Son of a bitch! No wonder AppleScript didn't like that and I started fishing around

set photo properties in iPhoto

2005-02-20 Thread _brian_d_foy
After struggling with iPhoto in AppleScript for a while (and all of a sudden realizing that a photo's date property is a string, not a date object), I had to come back to Perl and DateTime. I need to shift the times on thousands of images by a certain offset. Amazingly, Batch Change can't add an

Re: HTML::Tidy Filter for BBEdit?

2005-01-18 Thread _brian_d_foy
In article [EMAIL PROTECTED], Paul McCann [EMAIL PROTECTED] wrote: Do the items in the Markup-Tidy submenu do what you're seeking? I'm pretty sure they hook into a copy of HTML Tidy that's embedded in BBEdit. There is an HTML Tidy in BBEdit, but it only works on the whole document. The filter

Re: Perl Win32 vs. OS X

2004-11-17 Thread _brian_d_foy
In article [EMAIL PROTECTED], Bruce Pascal [EMAIL PROTECTED] wrote: I am having a problem with a parser which works in DOS, but does not work in the OS X BSD shell. if ($line =~ /^\n/) { # Do Something } Why would this happen? Any ideas? The one that doesn't match \n doesn't have \n,

Re: Template Toolkit on OSX?

2004-11-02 Thread _brian_d_foy
In article [EMAIL PROTECTED], Robert Hicks [EMAIL PROTECTED] wrote: On 11/1/04 2:08 PM, in article [EMAIL PROTECTED], _brian_d_foy [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Robert Hicks [EMAIL PROTECTED] wrote: Are you using 5.8.1 that ships with the Dev tools package

Re: Template Toolkit on OSX?

2004-11-01 Thread _brian_d_foy
In article [EMAIL PROTECTED], Robert Hicks [EMAIL PROTECTED] wrote: On 10/26/04 7:10 PM, in article [EMAIL PROTECTED], _brian_d_foy [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Robert [EMAIL PROTECTED] wrote: I am pondering a switch to OSX and was wondering if there was any

Re: Template Toolkit on OSX?

2004-10-27 Thread _brian_d_foy
In article [EMAIL PROTECTED], Robert [EMAIL PROTECTED] wrote: I am pondering a switch to OSX and was wondering if there was any problems running Template Toolkit on it? I haven't had any problems. I installed it from CPAN and just started using it. -- brian d foy, [EMAIL PROTECTED]

Re: curses

2004-09-14 Thread _brian_d_foy
[[ This message was both posted and mailed: see the To, Cc, and Newsgroups headers for details. ]] In article [EMAIL PROTECTED], Flatman [EMAIL PROTECTED] wrote: I searched the internet for an answer why curses module doesn't install on Macosx via cpan .. but I could not find a answer on

Re: Parsing and merging plist files

2004-07-14 Thread _brian_d_foy
In article [EMAIL PROTECTED], Robin [EMAIL PROTECTED] wrote: With the exception of Omniweb bookmarks, everything else is in a kind of plist. Ages ago I threw together a hack for iCal files that does work (sort of) and I've read about Mac::plist but am left with the impression it's as

Apple's X11, pTk works for me

2003-01-16 Thread _brian_d_foy
I finally got around to trying Apple's X11. It works me for: 0. I'm still using 10.2.2 and perl 5.8.0 1. I had XDarwin 4.2.0 previously 2. I compiled perlTk with all that stuff 3. I removed /usr/X11R6 and /etc/X11 4. I installed Apple's X11 5. I had to remove my ~/.xinitrc (don't know why

Re: Phantom Line Numbers

2003-01-07 Thread _brian_d_foy
In article [EMAIL PROTECTED], Christopher D . Lewis [EMAIL PROTECTED] wrote: On Monday, January 6, 2003, at 06:39 PM, Andy Lester wrote: syntax error at ./nudice-01c line 187, near sub displayResults syntax error at ./nudice-01c line 305, near sub rollRequest The problem is, you see,

Re: Testing libapreq

2002-12-26 Thread _brian_d_foy
In article [EMAIL PROTECTED], Geoffrey F. Green [EMAIL PROTECTED] wrote: On 12/26/02 1:06 AM, brian d foy [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], David Wheeler [EMAIL PROTECTED] wrote: http://www.apache.org/~joes/libapreq-1.1_rc2.tar.gz Just use the instructions

Re: BBEdit 7.0 - Not Impressed

2002-11-13 Thread _brian_d_foy
In article [EMAIL PROTECTED], Mark S Lowe [EMAIL PROTECTED] wrote: This is BARELY an update. BBEdit is going the way of Interarchy.=20 They've run out of features, or in most causes reached a point where=20 they refuse to program anything difficult, so we're left with features=20= they have

Re: BBEdit 7.0

2002-11-13 Thread _brian_d_foy
In article p05300806b9f8bc9369b2@[203.8.112.3], Peter N Lewis [EMAIL PROTECTED] wrote: At 14:18 -0500 13/11/02, John Siracusa wrote: On 11/13/02 11:46 AM, Adrian Howard wrote: And CVS support too! Excellent! Hrm, not so excellent for me so far...it just hangs with the connecting dialog

Re: OS X: iTunes to HTML, by yours truly

2002-11-13 Thread _brian_d_foy
In article p05200f01b9f8db35ea84@[63.173.138.149], Morbus Iff [EMAIL PROTECTED] wrote: I've recently been reorganizing my mp3 collections, and part of the reason was because I wanted to generate a listing of my albums automatically, but with ultimate control over the display. Most of the

Re: I's Published!

2002-11-06 Thread _brian_d_foy
In article [EMAIL PROTECTED], Puneet Kishor [EMAIL PROTECTED] wrote: Perhaps what would be cool would be to be able to completely replace Apple's Apache and perl with our own custom version, and then prevent future OS updates from writing over our custom versions. the only problem with

Re: making files (and folders) (in)visible

2002-10-29 Thread _brian_d_foy
In article p05200e0db9e4b36ddaf7@[192.168.254.205], Rich Morin [EMAIL PROTECTED] wrote: I can't find a command-line method (let alone a Perl function) to change the visibility of files and folders. Help? MacOSX file has Perl level access to this stuff too.

Why is 27 special?

2002-10-10 Thread _brian_d_foy
i'm back to fooling around with Mac::iTunes again. i took a week off after the Mac OS X Conference because i had been thinking about it too much. [ side note: never trust an audience. i let them access (through Apache::iTunes) my iTunes (on the G3 projecting the fancy powerpoint on the screen

Re: Module submission Tk::MacCopy

2002-09-28 Thread _brian_d_foy
[ i'm also sending this along to [EMAIL PROTECTED] where other Mac namespace issues have been discussed ] In article [EMAIL PROTECTED], Perl Authors Upload Server [EMAIL PROTECTED] wrote: The following module was proposed for inclusion in the Module List: modid: Tk::MacCopy i

Re: AppleEvents with Perl: CW7/8 and MacCVSPro

2002-09-25 Thread _brian_d_foy
In article [EMAIL PROTECTED], Chris [EMAIL PROTECTED] wrote: It seems you can launch /usr/bin/osascript from perl and have that command run your Applescript Mac::AppleScript is about 7 times faster, according to my benchmarks.

Re: Perl/Tk on OS X

2002-09-25 Thread _brian_d_foy
In article [EMAIL PROTECTED], Rich Michaela [EMAIL PROTECTED] wrote: Has anyone gotten this to build. I've searched extensively. Tried the hacked dyld/optimizer trick found on the lehigh.edu site - all to no avail. worked fine for me following the dyld hack instructions. did you make sure

Frustrated with AppleScript. Is Perl the answer?

2002-09-12 Thread _brian_d_foy
i've been playing around with AppleScript lately. it's a nice language for what it's supposed to do. however, it's not any good unless the applications that should be scriptable actually do what they say they should do. today i discovered that URL Scripting Access can download a web page and

Re: Mac::AppleScript fixed

2002-09-02 Thread _brian_d_foy
In article a05111b01b9990b82d723@[63.120.19.221], Dan Sugalski [EMAIL PROTECTED] wrote: If someone's got a harmless and unobtrusive piece of applescript code that'd be better for the test, I'm all for it. maybe a warning to the user is enough. i've beenthinking about the same problem with

Re: Mac::AppleScript fixed

2002-09-01 Thread _brian_d_foy
In article [EMAIL PROTECTED], Ken Williams [EMAIL PROTECTED] wrote: On Saturday, August 31, 2002, at 05:06 PM, _brian_d_foy wrote: I think you can have whatever opinion you want about liking/disliking exceptions, but they don't make different things possible/impossible, they only make

Re: Mac::AppleScript fixed

2002-08-31 Thread _brian_d_foy
In article [EMAIL PROTECTED], Ken Williams [EMAIL PROTECTED] wrote: This isn't a difference between return-error and throw-exception programming. The caller gets to make the decisions in either situation. Perl doesn't have exceptions, so we don't get that choice. The difference is

Re: Mac::AppleScript fixed

2002-08-31 Thread _brian_d_foy
In article a05111b01b99613226fd2@[63.120.19.221], Dan Sugalski [EMAIL PROTECTED] wrote: The difference is primarily in the cases when a programmer *forgets* to handle an error. Uncaught exceptions force you to take notice, whereas uncaught error values don't do much of anything. They just

Re: Mac::AppleScript fixed

2002-08-31 Thread _brian_d_foy
In article a05111b04b9961fa95f8b@[63.120.19.221], Dan Sugalski [EMAIL PROTECTED] wrote: At 2:23 AM -0500 8/31/02, _brian_d_foy wrote: this will make me use several lines of code everywhere... I didn't say I'd make it the *default*--sheesh, perl exceptions are too darned expensive

Re: Forking too often a bad thing even when programming Perl too?

2002-08-31 Thread _brian_d_foy
In article [EMAIL PROTECTED], Sky Lemon [EMAIL PROTECTED] wrote: I'm just cracking open the [gem of a] book Network Programming with Perl by Lincoln Logs, and on page 37 he's describing how to fork in Perl: Now the only thing I can tell from this pusillanimous behaviour is that if the

Re: What namespace are we using for OS X modules?

2002-08-29 Thread _brian_d_foy
In article [EMAIL PROTECTED], Drieux [EMAIL PROTECTED] wrote: On Wednesday, August 28, 2002, at 08:34 , _brian_d_foy wrote: In article a05111b19b99346410832@[63.120.19.221], Dan Sugalski [EMAIL PROTECTED] wrote: I'm throwing one or two together. They going in MacOS, MacOSX, OSX

Re: Mac::AppleScript fixed

2002-08-29 Thread _brian_d_foy
In article [EMAIL PROTECTED], David Wheeler [EMAIL PROTECTED] wrote: On Thursday, August 29, 2002, at 09:48 PM, Dan Sugalski wrote: Right, which is why I'd call it like: if (!do_script_thingie()) { print $some_error_message_or_other, $@, \n; next; } Over and over

Re: What namespace are we using for OS X modules?

2002-08-28 Thread _brian_d_foy
In article a05111b19b99346410832@[63.120.19.221], Dan Sugalski [EMAIL PROTECTED] wrote: I'm throwing one or two together. They going in MacOS, MacOSX, OSX Pudge suggested that I move my MacOSX stuff to Mac::*, which i'm going to do. i think Mac::* is fine.

Re: iTunes xml

2002-08-14 Thread _brian_d_foy
In article [EMAIL PROTECTED], Nathan Torkington [EMAIL PROTECTED] wrote: Has anyone written code to let you easily manipulate the iTunes xml database from Perl? i'm working on it for the MacOSX::iTunes module. it's mostly a read-only thing. as far as i can tell, any changes to the XML do

Re: iTunes xml

2002-08-14 Thread _brian_d_foy
In article [EMAIL PROTECTED], Nathan Torkington [EMAIL PROTECTED] wrote: Thanks for the pointer to Brian's work, Morbus and David. I admit to being unclear on the difference between the XML and the binary files. If I change the XML file while iTunes is running, it overwrites those changes

MacOSX::iTunes alpha release

2002-07-17 Thread _brian_d_foy
i have the start of a MacOSX::iTunes module which can parse the iTune Music Library format (although i'm still learning quite a bit about it). eventually this module will be able to write that format and do other cool things too. if you'd like to play with it, you can get it from my CPAN

Re: about .command and .term

2002-07-15 Thread _brian_d_foy
In article [EMAIL PROTECTED], Randal L. Schwartz [EMAIL PROTECTED] wrote: Charles == Charles Albrecht [EMAIL PROTECTED] writes: That's part of what frustrates me the most about OSX. It's like OS9... people pass around folklore instead of being able to just say man foo as on real unix to

Mac OS X Conference Perl

2002-07-03 Thread _brian_d_foy
O'Reilly Associates accepted my Perl Programming on Mac OS X for their upcoming conference in September: http://conferences.oreillynet.com/macosx2002/ so now i got to figure out what to include :) i want to include the things that are special, rather than the same. i was thinking: *

Re: Dumb Bunny Future Time Problem

2002-06-27 Thread _brian_d_foy
In article R01050300-1015-570E291E893611D6B5E3000A2794A806@[192.168.1.100], Bruce Van Allen [EMAIL PROTECTED] wrote: Just a thought: what time zone are you in? Is 7 hours the differential between your local time and GMT? Might be something to poke into... when i had the problem, the

Re: Dumb Bunny Future Time Problem

2002-06-26 Thread _brian_d_foy
In article [EMAIL PROTECTED], Drieux [EMAIL PROTECTED] wrote: [localhost:/dtkWeb-0.02] bobacker% ./installMe make: *** Warning: File `Makefile.PL' has modification time in the future (2002-06-25 19:06:17 2002-06-25 15:42:15) Makefile out-of-date with respect to Makefile.PL Cleaning

Re: Perl as alternative to MySQL

2002-03-19 Thread _brian_d_foy
In article [EMAIL PROTECTED], Danny Arsenault [EMAIL PROTECTED] wrote: Please let me know if this is crazy! it is. I am continually developing a site in Lasso and on their mailing list someone talked about how they had dispensed with the database backend altogether by using Lasso to read

Re: XML::Parser and expat compile?

2002-03-08 Thread _brian_d_foy
In article [EMAIL PROTECTED], Jonah [EMAIL PROTECTED] wrote: Dunno if it'd be any help for OS X, but when I had grief getting expat to complie, I was pointed towards XML::Parser 2.29. It lets you sidestep expat install problems because it has the relevant bits of expat bundled with it: