Re: catnip.local (redirect)

2005-01-06 Thread Conrad Schilbe
Gregg R.Allen wrote: I'm not sure where it's being stored, it's probably being cached in the browser somewhere. If you edit the file /etc/hosts and place an entry such as: catnip.local12.34.56.78 where 12.34.56.78 is the IP address of catnip.company.com. This can be discovered by either

Re: Reading in a File

2004-12-27 Thread Conrad Schilbe
Doug McNutt wrote: At 22:44 -0500 12/25/04, Lola Lee wrote: Nothing happens. This lesson that I'm working on is working from the premise that people are using a Windows Perl installation. Watch out for line ends in the source file that is being counted. Perl probably doesn't care because

Re: File creation issue

2004-12-26 Thread Conrad Schilbe
Adam Butler wrote: I forgot to mention that $file is set via a form. On first run of the script, it prints a form to the browser asking for a file name, which you enter, and then it's submited and sent to the script. The way I understood it, when open tries to open a file that doesn't exist, it

Re: File creation issue

2004-12-24 Thread Conrad Schilbe
On Thursday 23 December 2004 11:27 pm, Adam Butler wrote: For some reason, when I try to use the open() function to create a new file, it doesn't work. It will open a pre-existing file just fine, but if you enter a file that doesn't exist, instead of creating a new one it simply does

Re: New to list, greetings and a (newbie)problem

2004-12-23 Thread Conrad Schilbe
On Wednesday 22 December 2004 04:35 pm, Isaac Sherman wrote: tcsh: hw.pl: Command not found. Welcome to perl on OSX! perl hw.pl works because perl is in your path and you are giving it hw.pl as an argument. Unfortunately, even after setting PATH, it still gives the same error, whether I

Re: Converting PDF to JPEG

2004-05-16 Thread Conrad Schilbe
As a perl solution, I've had success with perl and image magick, converting PDFs to JPEG. On 5/15/04 4:05 PM, Rich Morin [EMAIL PROTECTED] wrote: At 11:51 AM -0700 5/15/04, Dan Dulay wrote: As Mac-only solution, you should look at the Applescript Image Events. Thanks; that's _exactly_ the

Re: Merging into Address Book

2004-04-08 Thread Conrad Schilbe
On 4/7/04 7:23 PM, Ken Williams [EMAIL PROTECTED] wrote: On Apr 7, 2004, at 9:11 AM, Bill Jastram wrote: Ken: Although it's not a Perl soultion, here's a link which might give you just what you need: http://www.macosxhints.com/article.php? story=20030831221023355query=vcard Hmm

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

2004-03-16 Thread Conrad Schilbe
What ever happened to portability of code. Not to slag Mac::Glue but even the name suggests that your going to spend decades re-writing code should you need to move to a different platform. I can see it's purpose from some of the other threads here when working with iTunes or something but in

Re: Undefined subroutine main::sendmail

2004-03-08 Thread Conrad Schilbe
Did you try typing o conf urllist push ftp://myurl/ ? ftp://myurl/ is not an actual url. It's telling you Put _your_ url here. If that doesn't work (okay, it might not be intuitive), try this: mv ~/.cpan ~/.cpan_BROKEN sudo perl -MCPAN -e shell and then let things

Re: CPAN -- why always so long?

2004-03-05 Thread Conrad Schilbe
# perl -MCPAN -eshell Cpan o conf init This will allow you to configure CPAN, one of the steps is to select FTP sites. You can select based on geographical region and can also enter your own. I've never had a problem with speed and usually select multiple sites when configuring. ... Checking

Re: Advice for moving perl script to OSX server

2004-03-01 Thread Conrad Schilbe
to purchase a license to do authentication. Cheers, Conrad Schilbe On 3/1/04 10:41 AM, Eric Curts [EMAIL PROTECTED] wrote: Greetings! I am the technology specialist for North Canton City Schools in North Canton, Ohio. For years we have been using a perl script I wrote that helps teachers

Re: XML::Parser isn't working on OX 10.3.2

2004-02-04 Thread Conrad Schilbe
I have XML::Parser installed... Used CPAN... /usr/local/lib/libExpant.dylib doesn't exist on my system, Maybe it's supposed to be libExpat, without the 'n'? Source issue? C On 2/3/04 4:02 PM, Noah Hoffman [EMAIL PROTECTED] wrote: Hello, I've just upgraded our build machines from

Re: ***regular expression***

2003-11-17 Thread Conrad Schilbe
On 11/17/03 2:52 AM, xweb [EMAIL PROTECTED] wrote: Thanks all but... I don't explain well the problem! So, i'm processing a very big text file ( from A DB ) in this format number|field 1|field2| field 3| etc. Every line is a record.Every line contains many url. I'm interested about specific

Re: ***regular expression***

2003-11-15 Thread Conrad Schilbe
I think this is what you are looking for: $string =~ s/\a\s*href\=\(.*?)\\.*?\\/a\/\idlink\$1/; If you want to capture the link text as well, put brackets around the 2nd '.*?' and reference it as $2. Hope that's what you are after. Conrad On 11/14/03 8:25 AM, xweb [EMAIL PROTECTED] wrote:

Re: Back with Make file errors AGAIN...

2003-11-15 Thread Conrad Schilbe
It would help if you send the output from make to see where it went wrong but I would assume that the early threads on this would help you. You may also want to use CPAN as root. This thread may help: http://www.mail-archive.com/[EMAIL PROTECTED]/msg05736.html Conrad On 11/14/03 12:07 AM, Myth

Re: Perl version of GetFileInfo?

2003-10-31 Thread Conrad Schilbe
::File::Info http://search.cpan.org/~dankogai/MacOSX-File-0.66/Info/Info.pm Description states this: This module implements what /Developer/Tools/{GetFileInfo,SetFile} does within perl. Conrad Schilbe

Re: Perl version of GetFileInfo?

2003-10-31 Thread Conrad Schilbe
On 10/31/03 5:08 PM, Conrad Schilbe [EMAIL PROTECTED] wrote: On 10/31/03 4:41 PM, William H. Magill [EMAIL PROTECTED] wrote: The application: GetFileInfo on the Developers (Xcode) CD functions differently between 10.2.x and 10.3.x. Under Jaguar GetFileInfo directory worked, Under Panther

Re: DBD::mysql fails tests

2003-10-29 Thread Conrad Schilbe
able to install DBD::mysql, using Apple's install of perl, without any problems. I'm assuming it passed 'make test' for you? What version of gcc were you using? I used 3.3. But I'm using Mysql 3.x - Could be the difference. thanks, ken On Oct 29, 2003, at 11:45 AM, Conrad Schilbe wrote

Re: DBI and DBD::MySQL (Panther)

2003-10-16 Thread Conrad Schilbe
To clear up any confusion for others that may pick up this thread, my previous email stated that a patch should not be made to perl sources... I mistook the details below as implying that each perl module (i.e. DBD::mysql) be patched for an error in the Config.pm module. In actuality, I believe,

Re: BBEdit-Perl confusion

2003-10-16 Thread Conrad Schilbe
On 10/16/03 5:12 PM, Ingles, Juan W. [EMAIL PROTECTED] wrote: I wonder: Is this because /opt/local/bin/perl points to the perl 5.6 binary or 5.6 binary path is hard coded in BBEdit Would this be in a plist file for BBedit? C. which perl on the terminal will tell you what binary

Re: BBEdit-Perl confusion

2003-10-16 Thread Conrad Schilbe
On 10/16/03 5:12 PM, Ingles, Juan W. [EMAIL PROTECTED] wrote: I wonder: Is this because /opt/local/bin/perl points to the perl 5.6 binary or 5.6 binary path is hard coded in BBEdit which perl on the terminal will tell you what binary you are launching ( not currently at my

Re: DBI and DBD::MySQL (Panther)

2003-10-15 Thread Conrad Schilbe
Mike, I was encountering the same errors as you in my quest to install DBD::mysql and discovered that under the following setup: Custom installed Perl 5.8.1 RC3 - No multi-threading ggc 2.95 - via /usr/sbin/gcc_select 2 Removing /sw/lib/perl5/Storable.pm /sw/lib/perl5/auto/Storable I was

Re: DBI and DBD::MySQL (Panther)

2003-10-15 Thread Conrad Schilbe
. --- Edward Moy Apple On Oct 15, 2003, at 1:52 PM, Conrad Schilbe wrote: I was encountering the same errors as you in my quest to install DBD::mysql and discovered that under the following setup: Custom installed Perl 5.8.1 RC3 - No multi

Re: DBI and DBD::MySQL (Panther)

2003-10-15 Thread Conrad Schilbe
I would think this should stay out of the perl sources since it is not a bug of perl's... Thoughts? I also just discovered that this fixes a build problem with Data::Dumper... Or so it would appear. It's possible this will effect several packages. The patch should not be put in all the perl