Re: Mac OS alias from Perl

2007-12-09 Thread Dave Gomez
For the traditional method if you can't find a module or common method just use the quote below the tilde, ie `ln -s /path/to/my/interest / path/to/my/alias`, note if this will run in a cron, you will have to give the full path ot ln, just do a "whereis ln" command (mine and yours should be

Re: Need help with DBD::mysql install

2002-06-15 Thread Dave Gomez
been modified to work correctly with OSX. Dave Gomez On 6/15/02 4:41 AM, "Mark Lowe" <[EMAIL PROTECTED]> wrote: > I¹m able to install all other modules without a problem...but the for some > reason Make fails at the end of DBD::mysql Bundle via CPAN. > > Has any

Re: Getting line endings

2002-09-12 Thread Dave Gomez
What do you want to do with the ending, change it, kill it, or just know it. To kill all of those types, you can use chop to remove the last character, or better yet chomp to only remove \r or \n. Dave gomez

Re: gd croaking

2002-10-10 Thread Dave Gomez
Puneet, Think I had same issues, and gave up and used gnuplot instead for some graph creation, as it does put out graphs like the ones I use on my site well (http://www.dkgomez.com/cgi-bin/housetemp.pl). Think I used fink to do the install of gnuplot Dave Gomez On 10/10/02 2:27 PM, "P

Re: scripts don't run-new question

2002-10-23 Thread Dave Gomez
tring of the command line output, the server/browser may balk if it is not. Also another thing to check, what's the apache error log say, (might be in /var/log/httpd/error_log) Dave gomez On 10/23/02 8:31 PM, "Chuck Jacobson" <[EMAIL PROTECTED]> wrote: >> many of the

Re: DBD::mysql help

2002-10-23 Thread Dave Gomez
Not likely, as if you look at the ones that failed, dropping/adding a database, those are the ones that need some particular permissions. You can modify test scripts if you like, but if the access is working, you can probably install and get to work on it. dave gomez > After make, I get s

Re: -d

2002-11-02 Thread Dave Gomez
here is a code example using find:file, note it is recursive, and will work with where you are sitting, or a passed argument of start point including ~ Dave Gomez #!/usr/bin/perl -lw # fdirs - find all directories @ARGV = qw(.) unless @ARGV; use File::Find (); sub find(&@) { &File::Fi

Re: cgi trouble

2002-11-11 Thread Dave Gomez
first line, a good check for this is just run the cgi from the command line, you sometimes get a better error message. Dave Gomez On 11/11/02 9:49 AM, "John Delacour" <[EMAIL PROTECTED]> wrote: > Now that I've got Apache2 behaving fairly well, I'm getting a couple &g

Re: Device::SerialPort

2002-11-25 Thread Dave Gomez
send you the gzip of a compiled version ready for install, or look at it via a diff, but that'll take longer. Dave Gomez On 11/25/02 6:03 PM, "Rob Barris" <[EMAIL PROTECTED]> wrote: > > > http://search.cpan.org/author/COOK/Device-SerialPort-0.12/SerialPort.pm > &

Re: making Perl scripts run

2003-08-28 Thread Dave Gomez
Lou, try .\phonetic.pl and also make sure the first line contains #!/usr/bin/perl (or variants which enable strict etc). If the first thing works, all you need to do is add .\ into your paths within the .bashrc file. Dave Gomez On 8/27/03 4:56 PM, "Charlie Root" <[EMAIL PROT

Re: ***regular expression***

2003-11-15 Thread Dave Gomez
Paolo, try s:string:$val1: note by using : as the replacement delimiters, you don't have to escape the forward slashes. You will have to worry if the strings you have there contain colons tho, although your variable strings should be ok Dave On Nov 14, 2003, at 8:25 AM, xweb

Re: Web servers with cable DSL

2004-03-17 Thread Dave Gomez
ns, as I didn't want to do it offline. Dave Gomez On Mar 16, 2004, at 11:13 AM, Bill Stephenson wrote: I was wondering if anyone here is using a MacOS X box with a fixed IP cable DSL account as a commercial grade web server? Is this a reasonable alternative to using a hosting company like

Re: Advice for enabling perl on OSX

2004-04-22 Thread Dave Gomez
The one I caught was that you couldn't run it from the command line with proper permissions. Do a "whereis perl" to ensure it's there, a perl -v to check it's info, and verify that you can run the script from the commandline. dave On Apr 22, 2004, at 6:59 AM, Eric Curts wrote: Greetings!

Re: Perl Win32 vs. OS X

2004-11-17 Thread Dave Gomez
Bruce, depending on the platform of the originating text file, and in OSX that covers 2 bases really, the newline character is different. Moc OS9 & below = \r Unix = \n Dos = \n\r OSX = \n but many text files are still \r from legacy So, to make you code good all around, try this instead if ($

Re: Getting outside the box

2005-03-08 Thread Dave Gomez
Albert, check out CPAN, you should find something like Device::Serialport , I've used a slightly modified version to talk to a keyspan device. dave On 3/7/05 12:13 PM, "Albert Kaltenbaeck" <[EMAIL PROTECTED]> wrote: > I run a mac server and want to control an external DishNetworks Sat. > rece

Re: mail error

2005-06-03 Thread Dave Gomez
PC, sounds like one of two things, mail is not setup correctly, or you are using possibly an account without priveledges. Dave On 6/2/05 3:48 PM, "PChase" <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to send email using MIME::Lite.pm. On one computer it works > fine, > and on another I g

Re: Device::SerialPort and Keyspan

2006-03-02 Thread Dave Gomez
SFS, been a while, but I do remember getting it to work bi directionaly, and also know that eh Keyspan works well. try this for your output statements: $count_out = $obj->write($output_string); warn "write failed\n" unless ($count_out); warn "write incomplete\n" if ( $c