Re: Time::Local problem

2004-08-30 Thread Rick Measham
current and historic DST rules back to 1972. Cheers! Rick Measham (disclaimer: I have developed some of the DateTime modules) Senior Developer PrintSupply - Print Procurement Supply Management 18 Greenaway Street VIC 3105 Tel: (03) 9850 3255 Fx: (03) 9850 3277 http://www.printsupply.com.au/

Re: Time::Local problem

2004-08-30 Thread Rick Measham
On 31 Aug 2004, at 12:09 PM, Sherm Pendley wrote: Great - so now our ancestors have to deal with the Y4G bug? ;-) LOL .. no .. unless you continue to abbreviate. The dates will range from 1-01-01 to 1-12-31 and 2004 will mean 2004 not 12004. Cheers! Rick (They're your decedents by the

Re: Mac::Glue finder physical size

2004-08-30 Thread Rick Measham
On 31 Aug 2004, at 12:12 PM, Paul McCann wrote: You need to add a -get after the prop(). Strangely enough I saw this by googling on Mac::Glue physical_size, and the only thing whacked (modulo close relatives) was your post of 18th March, containing the vital get. So you want... LOL .. thanks

Re: PDF::API

2004-06-14 Thread Rick Measham
Nelius, This post belongs on the [EMAIL PROTECTED] list rather than the Mac OS-X Perl list. I've cross posted it there and would suggest that you subscribe to that list for all your PDF::API2 help. It's an active and helpful list. You need to be calling the methods on objects and not on their

Re: CPAN Question

2004-05-27 Thread Rick Measham
everything off the disk, I'm sure someone else will chip in shortly with exactly which package it is. Cheers! Rick Measham On 28 May 2004, at 11:55 AM, Timothy Bailey wrote: I've been playing around with CPAN, to get some modules installed. Unfortunately, something seems to be not working. Perhaps

Re: seperate file

2004-04-29 Thread Rick Measham
On 30 Apr 2004, at 12:20 AM, zunsheng Jiao wrote: Hi all, I'm new on perl. I need to separate a huge file to small files. It has three columns. If first column is a number , use this number as a file name (i. e., 260.dat and 300.dat for following sample), and then writing column 2 and columns

Mac::Glue and OmniGraffle

2004-03-31 Thread Rick Measham
1. Product plug (sorry Merlyn) - OmniGraffle is by far the best development-planning tool I've ever seen. Love it. 2. I'm trying to perl + Mac::Glue it, but after reading through the OmniGraffle.pod and Mac::Glue I'm still lost. The following applescript works: tell front document of

Re: Getting the size of a folder with Mac::Glue

2004-03-18 Thread Rick Measham
On 18 Mar 2004, at 6:06 AM, Chris Nandor wrote: This works: my $obj = $finder-obj(folder = '/Users/pudge/Movies'); my $size = $finder-data_size($obj); Chris, what is the data_size? The correct size of the folder is (from Finder info) 8.6MB on disk (4,001,454 bytes) rickm% perl -e

Urgent: Turning a script into a droplet

2004-03-15 Thread Rick Measham
Need some quick help ... how do I turn a perl script into a droplet (and when I do, do the dropped files appear in @ARGV still?) Cheers! Rick Senior Developer PrintSupply - Print Procurement Supply Management 18 Greenaway Street VIC 3105 Tel: (03) 9850 3255 Fx: (03) 9850 3277

Re: Urgent: Turning a script into a droplet

2004-03-15 Thread Rick Measham
On 16 Mar 2004, at 4:34 PM, Sherm Pendley wrote: DropScript. http://www.wsanchez.net/software/ On 16 Mar 2004, at 4:16 PM, Andrew M. Langmead wrote: One suggestion would be DropScript http://www.wsanchez.net/software/ It can turn any script or program into a droplet. (by dropping the script or

Getting the size of a folder with Mac::Glue

2004-03-15 Thread Rick Measham
I'm trying to get the size of a folder and figure Mac::Glue would be the way to go. However I'm getting back a 0: use Mac::Glue; my $finder = new Mac::Glue 'Finder'; die(No such file: $monthdir/$folder/) unless -e $monthdir/$folder/; my $size = $finder-data_size($monthdir/$folder/); print $size;

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Rick Measham
it. Cheers! Rick Measham Senior Developer PrintSupply - Print Procurement Supply Management 18 Greenaway Street VIC 3105 Tel: (03) 9850 3255 Fx: (03) 9850 3277 http://www.printsupply.com.au/

Re: Mac::Carbon install problem (Processes.t)

2004-02-16 Thread Rick Measham
There are others who will certainly know better than I do, however let me ask, are you running CPAN with: sudo /full/path/to/perl -MCPAN -e shell If you don't use sudo (or su to root if you have it enabled) then there will be problems with installs, and if you have your own perl installed

Re: [OT] XML in SQL (was: MySQL for Web Apps)

2004-02-05 Thread Rick Measham
On Wed, 4 Feb 2004, Rick Measham wrote: I'd love to see an XML parser embedded into SQL so that I can have: CREATE TABLE aTable (id serial, data XML); On 5 Feb 2004, at 05:21 pm, Chris Devers replied: Does this help? snip Is this along the lines of what you were hoping for? Thanks Christ

Re: [OT] XML in SQL (was: MySQL for Web Apps)

2004-02-05 Thread Rick Measham
On 6 Feb 2004, at 01:47 pm, Rick Measham wrote: Thanks Christ, erm .. sorry .. chris .. Rick Measham Senior Designer and Developer Printaform Pty Ltd Tel: (03) 9850 3255 Fax: (03) 9850 3277 http://www.printaform.com.au http://www.printsupply.com.au vcard: http://www.printaform.com.au/staff

Re: [OT] XML in SQL (was: MySQL for Web Apps)

2004-02-05 Thread Rick Measham
will still be of use to someone... Very true .. I'm a PostGreSQLer rather than a MySQLer, and looking through the mailing lists there it looks like theres been talk of accessing the XML as data rather than as text ... h.. Feb 2003 .. I might poke some people! Rick Measham Senior Designer

Re: [OT] MySQL for Web Apps

2004-02-03 Thread Rick Measham
handle data-locking so you and I can't both be writing to a file at the same time. In short there's no question about which is the better option. Databases are quicker and safer. Cheers! Rick Rick Measham Senior Designer and Developer Printaform Pty Ltd Tel: (03) 9850 3255 Fax: (03) 9850 3277

Re: [OT] MySQL for Web Apps

2004-02-03 Thread Rick Measham
' is an XML field and could search it according to requirements. /dream Rick Measham Senior Designer and Developer Printaform Pty Ltd Tel: (03) 9850 3255 Fax: (03) 9850 3277 http://www.printaform.com.au http://www.printsupply.com.au vcard: http://www.printaform.com.au/staff/rickm.vcf

Re: permission denied during open

2004-02-01 Thread Rick Measham
. Cheers! Rick Rick Measham Senior Designer and Developer Printaform Pty Ltd Tel: (03) 9850 3255 Fax: (03) 9850 3277 http://www.printaform.com.au http://www.printsupply.com.au vcard: http://www.printaform.com.au/staff/rickm.vcf

Re: permission denied during open

2004-02-01 Thread Rick Measham
OK, I'm a git. I didn't scroll down so I didn't realise this had already been answered half a dozen times. Sorry! On 2 Feb 2004, at 10:32 am, Rick Measham wrote: On 2 Feb 2004, at 12:59 am, timothy driscoll wrote: this fails with an error 'Permission denied' when the target dir 'temp' looks

Re: tricky parsing question

2004-01-22 Thread Rick Measham
' in 'Character' as an 'X' also. And that, of course, is the most difficult part. English is such a hodge-podge of hacks from other languages the understanding it via algorithms is very very hard. Cheers! Rick Rick Measham Senior Designer and Developer Printaform Pty Ltd Tel: (03) 9850 3255 Fax

Getting a 'Save As' dialog box

2004-01-11 Thread Rick Measham
with prompt test1 default name test2)); But I figure that somewhere in all this there must be a way to pop up such a dialog directly from perl. How? Thanks and Cheers! Rick Rick Measham Senior Designer and Developer Printaform Pty Ltd Tel: (03) 9850 3255 Fax: (03) 9850 3277 http

Re: Getting a 'Save As' dialog box

2004-01-11 Thread Rick Measham
Thanks John, Works a treat! On 12 Jan 2004, at 03:47 pm, John Delacour wrote: At 2:51 pm +1100 12/1/04, Rick Measham wrote: I used CPAN module Mac::AppleScript and I don't get any reply at all: RunAppleScript Further to my last posting, I discover that some applications