Re: Getting all file paths

2007-03-23 Thread jay
Hi Kurtz, Daniel, and Sherm, Thanks so much for your replies. I really appreciate it!! I'll work with the examples you sent as well as take a peek at the perldoc -f -X. Thanks again for taking the time to help with this! :-) Jay On Mar 23, 2007, at 1:12 PM, kurtz le pirate wrote: In art

Re: pdf2text ?

2007-03-23 Thread Vic Norton
As I mentioned John Delacour's GUI scripting solution will work fine for me. However, another approach might work on more complicated PDF documents. At Shelly Spearing's suggestion I "looked at xpdf". In fact I installed "xpdf" and "pdftohtml" via darwinports. Now the command pdftohtml somefi

Re: Interacting with other applications

2007-03-23 Thread Sherm Pendley
On Mar 23, 2007, at 10:56 AM, David Cantrell wrote: On Thu, Mar 22, 2007 at 05:55:18PM -0400, Sherm Pendley wrote: On Mar 22, 2007, at 1:01 PM, Andrew Brosnan wrote: I'd like to run a daily backup script on my laptop, but I'd like it to ask permission first. I'm wondering what is the best wa

Re: Getting all file paths

2007-03-23 Thread Sherm Pendley
On Mar 23, 2007, at 8:52 AM, [EMAIL PROTECTED] wrote: I'm still new to Perl and was just curious if the code below is ok to use. Also, can someone direct me to more information about file::find? I'd like to know if -d means directory (I assume it does) as well as -f and other options that

Re: Interacting with other applications

2007-03-23 Thread Andrew Brosnan
On 3/23/07 at 2:56 PM, [EMAIL PROTECTED] (David Cantrell) wrote: > On Thu, Mar 22, 2007 at 05:55:18PM -0400, Sherm Pendley wrote: > > On Mar 22, 2007, at 1:01 PM, Andrew Brosnan wrote: > > > I'd like to run a daily backup script on my laptop, but I'd like > > > it to ask permission first. I'm won

Re: pdf2text ?

2007-03-23 Thread Avi Rappoport
At 12:11 PM + 3/22/07, John Delacour wrote: At 9:14 am +0100 22/3/07, Dominic Dunlop wrote: ...For some reason, Preview is not scriptable (shame, Apple, shame), and nor is Adobe Reader.) You can even combine AppleScript and Perl with, for example, Mac::AppleScript or Mac::Glue. If all th

Re: Getting all file paths

2007-03-23 Thread kurtz le pirate
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Daniel T. Staal") wrote: > You mean 'my %files'. You also don't need the '=()', but it doesn't hurt > either. > > > find(sub { if (!/^\./ && !-d) { $files{$_} = $File::Find::name } }, > > "/Volumes/Server/Folder/Path/"); > > > > print $files{"

Re: Getting all file paths

2007-03-23 Thread Daniel T. Staal
On Fri, March 23, 2007 7:52 am, [EMAIL PROTECTED] said: > Hi, > > I'm still new to Perl and was just curious if the code below is ok to > use. Also, can someone direct me to more information about file::find? > I'd like to know if -d means directory (I assume it does) as well as -f > and other opt

Re: Getting all file paths

2007-03-23 Thread kurtz le pirate
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Hi, > > I'm still new to Perl and was just curious if the code below is ok to use. > Also, can someone direct me to more > information about file::find? I'd like to know if -d means directory (I > assume it does) as well as -f and o

Re: Interacting with other applications

2007-03-23 Thread David Cantrell
On Thu, Mar 22, 2007 at 05:55:18PM -0400, Sherm Pendley wrote: > On Mar 22, 2007, at 1:01 PM, Andrew Brosnan wrote: > >I'd like to run a daily backup script on my laptop, but I'd like it to > >ask permission first. I'm wondering what is the best way to do this. > First off - can you always depend o

Getting all file paths

2007-03-23 Thread JYOUNG79
Hi, I'm still new to Perl and was just curious if the code below is ok to use. Also, can someone direct me to more information about file::find? I'd like to know if -d means directory (I assume it does) as well as -f and other options that may apply. Basically, I want to loop thru all files

Mac::Carbon issues

2007-03-23 Thread wren ng thornton
So I seem to have mucked up my perl. I was cpanning around updating things and Mac::Carbon failed to install. But in doing so, it looks like it uninstalled the previous version that was in there, so now I can't start cpan up since it requires Mac::Files for File::HomeDir::Darwin. I then tried getti