, but just set it up though postfix. Thanks again for all you
help. I will check out Mail::Sender, though. Looks interesting. Thanks
again.
Mark
On Nov 10, 2005, at 8:58 AM, Daniel T. Staal wrote:
On Thu, November 10, 2005 11:43 am, Mark Wheeler said:
Hi Brian,
Yes, I did that, but mail is
Hi Brian,
Yes, I did that, but mail is still not going through.
Does anyone know what happens to the mail when it is "doesn't go
through"?
Thanks,
Mark
On Nov 10, 2005, at 6:39 AM, brian pink wrote:
the easiest fix for this issue is to go to the SBC DSL site and file the
request to have th
I'm
at a loss of how to do that. Any ideas?
Thanks,
Mark
On Nov 9, 2005, at 8:42 PM, Sherm Pendley wrote:
On Nov 9, 2005, at 11:30 PM, Mark Wheeler wrote:
Just a quick question. I've been using MIME::Lite to send emails from
my home computer as I am running a server there. But I r
Hi all,
Just a quick question. I've been using MIME::Lite to send emails from
my home computer as I am running a server there. But I recently
switched to DSL with SBC/Yahoo and they are blocking port 25. My mail
suddenly stopped going through. I've opted out of that, thinking that
was the pro
Hi,
Sorry, I don't understand. What's my breakage? Should I not use "flock"?
Thanks,
Mark
Mark> open (FILE, "> $pathtodatafile") || die ("Cannot open file");
Mark> flock (FILE, 2);
0wn3d!
That's your breakage.
Once in a blue mooon, you'll kill your entire data this way
Hi,
Here's a quick question. This doesn't have anything to do with perl on
my mac, but just a perl question. I have a a small script that simply
increases a number by 1, when it is run, then writes the changes back
to the file. I am using it to check how many people come to the site by
way of
pretty high price to match. I've
also had good luck with Pair.com.
Ian
On Jun 10, 2005, at 5:58 PM, Mark Wheeler wrote:
Hi,
Sorry if this is off topic, but I need to move a shared account to a
dedicated account, but picking a new host provider is a need in a
haystack. So I ask, where
Hi,
Sorry if this is off topic, but I need to move a shared account to a
dedicated account, but picking a new host provider is a need in a
haystack. So I ask, where is a good place to go for a DEDICATED server
hosting package? What are your good experiences?
Thanks,
Mark
Hi all,
Thanks for all your input. What I decided to do was put up a page that
had links to download each of the two files. That is working great. I
remember doing the "onLoad" thing before, too. That also works great.
Thanks again,
Mark
Hi,
I'm having a problem with redirecting (Location: script.cgi) after a
file has been downloaded.
Here is the gist of the script. It creates two files (one html, the
other text), then a download dialog box comes up so the first newly
created file can be saved. But after the file is saved
Duh... of course... that's what all those tests are for. Sorry... I'm a
little (a lot) new at the install process. I installed MIME::Lite using
the process below and it worked like a charm.
Many thanks again to all who helped.
Now... to wright the program... I'm sure I'll be back. :)
Thanks agai
Ok.. I think I got it. I needed to be in the CPAN shell first then do
"o conf init":
cpan> o conf init
I let it do the auto config then got out of the shell. and sudo cpan to
get back in. Then in the cpan shell, did:
cpan> install Mac::Glue
That seemed to do the trick. It took much longer, as
On Apr 28, 2005, at 4:46 PM, Mark Wheeler wrote:
At 4:19 PM -0700 4/28/05, Mark Wheeler wrote:
And if so, how do I reconfigure CPAN?
cpan o conf init
---
Ok... I tried that, and got the following:
Mark-Wheelers-Computer:~ markwhee$ cpan o conf init
CPAN
Beautiful. I'll give it a try.
Thanks,
Mark
At 4:19 PM -0700 4/28/05, Mark Wheeler wrote:
And if so, how do I reconfigure CPAN?
cpan o conf init
-Jeff Lowrey
It is possible that it could not write out the
makefile. Then everything will fail after that.
ted
On Apr 28, 2005, at 3:12 PM, Chris Nandor wrote:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mark Wheeler) wrote:
Forgive the long reply, but I'm not sure exactly what to look for,
On Apr 28, 2005, at 1:15 PM, Ted Zeng wrote:
Someone might have a better solution.
What I did was go to each downloaded module folders and
Do "sudo make install" and it will install.
I have another Mac which doesn't have this problem at all.
It sounds like a permission problem.
Ted zeng
Adobe syste
Forgive the long reply, but I'm not sure exactly what to look for, so
here is the complete output:
---
Mark-Wheelers-Computer:~ markwhee$ cpan Mac::Glue
CPAN: Storable loaded ok
Going to read /Users/markwhee/.cpan/Metadata
Database was generated on Tue, 26 Apr 2005 23:56:03
Hi all,
OK, I installed Xcode - 1.1 then upgraded to 1.5, and ran the cpan
Mac::Glue again and still had problems. Here are snipits of the the
output:
Removing previously used /Users/markwhee/.cpan/build/Mac-Glue-1.23
CPAN.pm: Going to build C/CN/CNANDOR/
Got it. Thanks. I'll give it a go.
Mark
On Apr 27, 2005, at 12:50 PM, Mark Wheeler wrote:
So I need to install Xcode and then: cpan Mac::Glue again in the
terminal. Is that right?
Basically. However you install this or other modules, you'll need to
install Xcode first.
I'm ass
On Apr 27, 2005, at 9:35 AM, Sherm Pendley wrote:
You appear to be running Panther, so what you want to install is Xcode.
That's what used to be called "Developer Tools" on Jaguar and older -
Apple renamed it. And to make matters even more confusing, Xcode is
also the name of the IDE app that's
nterrupted? Won't install
-
What am I missing? Do I need to install the Developer Tools? Any help
would be appreciated.
Thanks very much,
Mark
On Apr 26, 2005, at 8:24 AM, Chris Nandor wrote:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mark
Hi Chris,
Thanks for the input. I'll start working on it and see what I can come
up with. One question: Is Mac::Sound a module? I've not heard of it.
Thanks,
Mark
On Apr 26, 2005, at 8:24 AM, Chris Nandor wrote:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mark Wheeler) w
Hi,
I've been thinking about installing Mac::Glue to do the following:
The script will open Internet Connect, dial a number (given by the
script). When a connection is established, a sound file will be played
5 X (or what ever number of repetitions). After the connection is lost
(phone is hung u
On Mar 15, 2005, at 9:56 PM, Ted Zeng wrote:
I set the username to root. That should be enough, I assume.
I didn't do the grant stuff.
Only that I have used PHP to test mysql installation, the PHP page also
create a test database and
test it. Not sure if that would create a problem.
ted
On Mar 15
On Mar 15, 2005, at 5:02 PM, Ted Zeng wrote:
Hi,
I tried to install DBD::mysql after I installed DBI.
I run
sudo perl -MCPAN -e "install DBD::mysql"
It got the source , but always failed like any other perl module.
I cd to the source directory and do
sudo make
and got the following error:
LD_RUN_PA
On Mar 10, 2005, at 6:19 AM, Sherm Pendley wrote:
On Mar 10, 2005, at 2:06 AM, David Jantzen wrote:
You've nearly got an unrolled Schwartzian Transform
(http://perlmonks.org/index.pl?node_id=9108).
I intentionally avoided lumping everything into one huge statement.
I've never cared much for ST's
Hi,
First, thanks again for all who helped me with sorting dates with
Date::Manip. That's working great.
I have another question. Below is a "sample" of a larger script. I have
it working great, but I'm pretty sure the sorting and manipulation of
file data is inefficient. What I'm asking is, ho
I use MIME::Lite. It sends out HTML, text, multipart. Here's the link:
http://search.cpan.org/~yves/MIME-Lite-3.01/lib/MIME/Lite.pm
Mark
On Mar 9, 2005, at 9:42 AM, Ted Zeng wrote:
Hi,
When I used perl on Windows, I used Mail:sender module to send emails,
with attachments.
Now I realized that Mac
Hi Sherm,
Thanks for taking the time to explain it. That makes sense.
Mark
On Mar 1, 2005, at 12:59 AM, Sherm Pendley wrote:
On Mar 1, 2005, at 2:48 AM, Mark Wheeler wrote:
Hi Sherm,
That works perfectly. Could you give me a brief rundown on how the
sort works with Date::Manip, so I can
Hi Sherm,
That works perfectly. Could you give me a brief rundown on how the sort
works with Date::Manip, so I can understand what is going on?
Thanks,
Mark
On Feb 28, 2005, at 1:03 AM, Sherm Pendley wrote:
On Feb 28, 2005, at 3:41 AM, Mark Wheeler wrote:
I have a quick question regarding
Hi,
I have a quick question regarding sorting. I have a list of dates and
years in the following format:
October-2004
December-2004
September-2004
January-2005
November-2004
I need to sort them so the final outcome is:
January-2005
December-2004
November-2004
October-2004
September-2004
Of course
Hi all,
Thanks for all you input. I'm mulling it all over to decide what works
best for me. That's the beauty of it all - there's always more than one
way to get what you want. Thanks again.
Mark
On Feb 18, 2005, at 11:37 AM, Rich Morin wrote:
At 8:39 AM -0800 2/18/05, Mark Wheel
rick
either. I know this should be simple, but I'm not sure what the problem
is.
Mark
On Feb 18, 2005, at 10:39 AM, Bruce Van Allen wrote:
On 2005-02-18 Mark Wheeler wrote:
Ok... I made the changes, but still no luck. Here is the script as it
is, now.
--
Ok... I made the changes, but still no luck. Here is the script as it
is, now.
--
test.cgi
--
#!/usr/bin/perl -w
use strict;
our @list;
require 'variables.conf';
foreach (@list) {
print;
}
exit;
--
Hi,
Just a quick question. Is it possible to have a bunch of variables in a
separate file and then require that file in the script file? Let me
give you and example.
--
Script file
--
Hi Sherm,
Thanks for the advice. I am using the standard Perl install, so I will
go with fink.
Thanks,
Mark
On Dec 11, 2004, at 12:12 AM, Sherm Pendley wrote:
On Dec 9, 2004, at 2:49 PM, Mark Wheeler wrote:
1. First, I'll check the archives on installing DBD::mysql. Then I'll
actual
Hi all,
Thanks so much for your input. I think my plan of attack, for now is as
follows.
1. First, I'll check the archives on installing DBD::mysql. Then I'll
actually install MySQL using Sherm's link. One question regarding that.
Which would be the best to install? There are three versions -
Hi,
Well, I'm about to take the plunge and begin to learn MySQL. I have
Apache and Perl all running great (stock installs), but I'm not sure
how to get started with installing MySQL. I guess what I'm asking is,
can some one share some good links/pointers on installing MySQL. As
well, links on U
I just found this site -
http://developer.apple.com/internet/opensource/cvsoverview.html - why
didn't I look there first. That may be helpful, too.
Mark
On Oct 8, 2004, at 5:25 PM, Mark Wheeler wrote:
Hi Charles,
So help me out a little, here. I did a little research (quickly) on
cvs.
like I need to set a working directory and a repository. Any
more input would be helpful.
Thanks,
Mark
On Oct 8, 2004, at 4:48 PM, Charles Albrecht wrote:
On Fri, Oct 08, 2004 at 03:20:22PM -0700, Mark Wheeler wrote:
Hi,
This might be slightly OT, but... I work in two different locations,
and hav
Hi,
This might be slightly OT, but... I work in two different locations,
and have two different safari bookmark files, obviously. I was thinking
about writing a script that would log into one computer, d/l that
computer's safari bookmarks, compare that bookmark list to the one on
the current co
Yes, I'm sure you are right on all counts, but I'm a glutton for a
little punishment, I guess. :) Trust me when I say I'm still keeping it
in mind. I would just like to understand a bit more about what's going
on under the hood. I like to be creative, but the other side of my
brain likes a litt
then
update to 1.5. Then try again. Does that sound right?
Thanks,
Mark
On Sep 23, 2004, at 4:20 AM, Chris Devers wrote:
On Thu, 23 Sep 2004, Mark Wheeler wrote:
Ok, I installed fink, no problems.
I used $ sudo apt-get install imagemagick and installed imagemagick -
no
problems.
I then used $ s
Ok, I installed fink, no problems.
I used $ sudo apt-get install imagemagick and installed imagemagick -
no problems.
I then used $ sudo apt-get install perlmagick-pm581 and got an error,
"couldn't find package perlmagick-pm581", so I'm guessing that is
didn't install because fink couldn't find
Agreed. Somtimes I overthink things and foget what the goal was in the
first place. I'll install fink then use you oneliner to install
image/perl magick. I'll let you know how it all goes.
Thanks again,
Mark
On Sep 22, 2004, at 3:31 PM, Chris Devers wrote:
On Wed, 22 Sep 2004, Ma
Ok... it seems to me that my two best options are as follows:
1. Install fink and then install ImagaMagick (as per below)
2. Install PerlMagick
3. Install the addition C libraries so as to have access to image
manipulation and compression and such
or
1. Install the Darwin port of ImageMagick.
Fir
Well the nice thing here is, it's for my family, not for work. This
particular project is done my spare time.. you know between 12am and
3am. :) So time wise, it's not a problem.
Mark
On Sep 22, 2004, at 2:05 PM, Sherm Pendley wrote:
On Sep 22, 2004, at 4:13 PM, Chris Devers wrote:
If you really
There are instructions for installing ImageMagic on the ImageMagick
site. Should I just follow the Unix instructions? As well, it sounds
like I need to install the C libraries first, then ImageMagick. Also,
from what I gather, after I install the C libraries and ImageMagick,
then I need to inst
Imager? I've not heard of that one. Can you give me a bit more info on
it? How is is different from ImageMagick?
Thanks,
Mark
On Sep 22, 2004, at 11:11 AM, william ross wrote:
On 22 Sep 2004, at 17:16, Mark Wheeler wrote:
Hi,
I am about to install my first module. I've been learning pe
ries and c libraries. And of course, all your help
would be much appreciated as I go through this process.
Thanks,
Mark
On Sep 22, 2004, at 10:20 AM, Sherm Pendley wrote:
On Sep 22, 2004, at 12:16 PM, Mark Wheeler wrote:
I am about to install my first module.
And for that you've chosen Image::
times you have to use force:
cpan> force install PerlMagick
It will ask you some simple (sometimes complex) questions and take
care of any dependencies. Great thing. Use CPAN as much as you can.
It's incredible!
Ryan
On Sep 22, 2004, at 11:16 AM, Mark Wheeler wrote:
Hi,
I am about to
t Camel & GraphicsKit". I highly
recommend it, but I'd ask Sherm about any idiosyncrasies that you
might run across.
Kindest Regards,
Bill Stephenson
On Sep 22, 2004, at 11:16 AM, Mark Wheeler wrote:
Hi,
I am about to install my first module. I've been learning perl for the
past s
Hi,
I am about to install my first module. I've been learning perl for the
past several years and am building a web site that needs
ImageMagick/PerlMagick.
First, how difficult is it to install these modules?
Second, are there any idiosyncrasies is installing these modules on
Panther?
Third, is the
file, my suspicion is that there's something wrong with the path to
the file and your script is exiting prematurely.
Andy
On Aug 24, 2004, at 8:23 PM, Mark Wheeler wrote:
Hi Andy,
Thanks for the input. I should have check the "read/write" method --
my bad.
I tried both t
Hi Joel,
Thanks for your input. In regards to filename, I'm assuming you are
talking about the filename passed within the HTML, right? I think what
I will probably do is pass an ID number to the script and then process
it that way. I will still check for "../" andywhere the passed ID, as
we
tent-Disposition and see what gets put into your browser. Since
you're writing the HTTP headers before attempting to open the file, my
suspicion is that there's something wrong with the path to the file and
your script is exiting prematurely.
Andy
On Aug 24, 2004, at 8:23 PM, Mark
Hi Chris,
I'm not at home (where the server is) so I'll give that a try, too. The
drawback on this method would be that I would only be able to use it on
a server that I had access to the Apache config file. This works well
at home, but not so well with a paid outside hosting service. But I'm
g
Hi Andy (another andy),
I tried your changes, but not go. On a PC, a 0k file is saved. On a
Mac, the browser (Safari 1.2.2) gives me a blank screen with nothing
d/l or a save dialog box - nothing. Any ideas?
Thanks,
Mark
On Aug 24, 2004, at 4:10 PM, Andy Turner wrote:
I would also recommend us
;< $path") || die("Can't open($filename): $!");
binmode(FILE);
# slurp method:
undef $/;
my $data = ;
close (FILE);
print $data;
# read() method would be:
while(read(FILE,$data,4096)) {
print $data;
}
close(FILE);
exit;
Good luck
Andy
On Aug 24, 2004, at 6:1
Hi all,
Here is my first attempt to write this script. I will be adding the
protection/whitelisting/etc. after I get the basic this running. Here
is what I have so far, and here is what happens. On a PC, the dialog
box comes up and saves the file, but it is 0K -- nothing in it. On a
Mac, th
Hi Pete,
I'll keep that in mind. Gotta love IE...
Mark
On Aug 23, 2004, at 6:58 AM, Pete Prodoehl wrote:
william ross wrote:
On 21 Aug 2004, at 20:07, Chris Devers wrote:
On Sat, 21 Aug 2004, Mark Wheeler wrote:
This is untested, but I'm guessing that you could write a simple CGI
s
are might initially think it's
spam. Can you clarify?
Thanks,
Mark
On Aug 23, 2004, at 3:17 AM, william ross wrote:
On Sat, 21 Aug 2004, Mark Wheeler wrote:
I have a picture gallery I building for my family. When a movie or
picture is displayed, I want them to be able to save it. But... if
Thanks. I'll check it out.
Mark
On Aug 21, 2004, at 4:17 PM, Joel Rees wrote:
http://reiisi.homedns.org/~joel/cs/shared_code/showpics.pl.text
st
create a copy of each file, zip them up, and create a link to them.
Kindest Regards,
Bill Stephenson
417-546-5593
On Aug 21, 2004, at 1:06 PM, Mark Wheeler wrote:
Hi,
I have a picture gallery I building for my family. When a movie or
picture is displayed, I want them to be able to save it.
Hi Chris,
That makes sense. I'll give it a try and let you know.
Thanks,
Mark
On Aug 21, 2004, at 12:07 PM, Chris Devers wrote:
On Sat, 21 Aug 2004, Mark Wheeler wrote:
I have a picture gallery I building for my family. When a movie or
picture is displayed, I want them to be able to save it
Hi,
I have a picture gallery I building for my family. When a movie or
picture is displayed, I want them to be able to save it. But... if I
just provide a link in the coding to the actual file, it will open up
in the browser window and be displayed. Is there a way to have
download, either autom
Hi,
As a person who subscribes to the [EMAIL PROTECTED] mailing list, I was
struck funny by the your email to Warren, Marc, Clarc, and Eddy. I
could be wrong, but... I think this email might not have been for all
of us on the list. Am I wrong? Just didn't want anyone to get into deep
weeds over
Hi,
I used the File::Copy module to copy() 4 files from a PC server to a
Mac external firewire drive. Three of the four files copied great!
(Thanks for all your help on that.) The one file that didn't copy was a
QuickBooks database file. When the perl script ran, I got the following
error:
Can
y file $dirfrom$dbpath[$i]/$dbname[$i] to $dirto$backup -
$!\n";
if (-e "$dirto$backup") {
print "$dbname[$i] backed up.\n";
} else {
print "$dbname[$i] NOT backed up!\n";
}
}
print "Backup Complete.\n";
-
On May 2, 2004, at 5:57 PM, Ronan O Ciosoig wrote:
did you get this up and running?
I need to get a backup script running myself now as well on a Win2k
server. Not sure how to do it. What's the equivalent to cron on
Windows?
OK, I think I got it. When I get to work tomorrow I'll test it out. One
last question. Is there a web site or book I can read that goes through
all that you've shared with me? I'd like to learn more.
Thanks,
Mark
On May 1, 2004, at 8:34 AM, Sherm Pendley wrote:
On May 1, 2004, at
or
% ls -l /Volumes/PRINCETON\\;DELLSERVER/
or
% ls -l /Volumes/'PRINCETON\\;DELLSERVER'/
Am I getting warm?
Thanks,
Mark
On Apr 30, 2004, at 10:50 PM, Sherm Pendley wrote:
On May 1, 2004, at 1:37 AM, Mark Wheeler wrote:
With that changed, does everything in the script look in order to
function
On May 1, 2004, at 1:08 AM, Mark Wheeler wrote:
PRINCETON;DELLSERVER
my $dirfrom = "/Volumes/PRICETON;DELLSERVER/";
Is that code copy-n-pasted? If it is, it's missing an 'N'. ;-)
sherm--
or warn
"Can't copy file $dirfrom$dbpath[$i]/$dbname[$i] to $dirto$backup -
$!\n";
if (-e "$dirto$backup") {
print "$dbname[$i] backed up.\n";
} else {
print "$dbname[$i] NOT backed up!\n";
}
}
print "Backup Complete.\n";
-
there some sort of back door I
need to go through. I can't imagine that it's this difficult.
Thanks again for your help.
Mark
On Apr 29, 2004, at 9:35 AM, Chris Devers wrote:
On Thu, 29 Apr 2004, Mark Wheeler wrote:
I'm not on the network right now, but I'm presuming that the PC
d
Perfect. Thanks so much for your help. I'll implement the directory
changes and we should be good to go.
Thanks,
Mark
On Apr 29, 2004, at 9:35 AM, Chris Devers wrote:
On Thu, 29 Apr 2004, Mark Wheeler wrote:
I'm not on the network right now, but I'm presuming that the PC
drive(s)
k around in /Volumes/... for something that looks like Fire1.
Joe.
On Apr 29, 2004, at 10:57 AM, Mark Wheeler wrote:
Hi all,
OK, this is kind of part two of my backup project. How do I access an
external (or secondary internal, for that matter) hard drive within
perl? I tried the following:
.
.
OK... the "Fire1" is the name of my external hard drive. Forgot to
mention that.
Sorry,
Mark
Hi all,
OK, this is kind of part two of my backup project. How do I access an
external (or secondary internal, for that matter) hard drive within
perl? I tried the following:
.
.
copy ("/Users/xx/Documents/db.txt","/Fire1/db.txt.bak");
.
.
That didn't work. How do I access the external drive
ote:
On Apr 28, 2004, at 11:32 PM, Mark Wheeler wrote:
copy ("$dirfrom$dbpath[$i]/$dbname[$i]", "$dirto$backup") or warn
"Can't copy file: $dbname[$i] - $!\n";
You might want to try a more verbose error message, like:
warn "Can't copy file $dirfrom$dbp
bpath[$i]/$dbname[$i]", "$dirto$backup") or warn
"Can't copy file: $dbname[$i] - $!\n";
if (-e "$dirto$backup") {
print "$dbname[$i] backed up.\n";
} else {
print "$dbname[$i] NOT backed up!\n";
}
}
print "\n\nBackup Co
t 11:48 AM, Mark Wheeler wrote:
Hi Ken,
I switched that because it was suggested that writing files over
system boundaries might be a problem. What is the difference between
the two? It sounds like, from your comment, that they do very
different things.
Yeah - rename() moves the file, and copy() ma
Well then... I must be brain dead. I new that about rename. And I'm
glad that someone suggested the copy function, because that is what I
want anyway.
Thanks again. You've been incredibly helpful.
Mark
On Apr 28, 2004, at 9:54 AM, Ken Williams wrote:
On Apr 28, 2004, at 11:4
28, 2004, at 2:11 AM, Mark Wheeler wrote:
Ok, It's working great, now. Thank you Ken and Bruce and anyone else
I am forgetting. Now the to finish the ride, all I have to do now is
figure out how to get the file from my PC and copy to an external
hard drive. I'm resuming all I need are
that sound right?
Thanks,
Mark
On Apr 27, 2004, at 11:23 PM, Mark Wheeler wrote:
Well, it looks like it was the line endings. They were mac, I changed
them to Unix, chmod the hello world script to 755, and the basic Hello
world script fired off great. Next step is to read the file and p
wrote:
On Apr 27, 2004, at 5:07 PM, Mark Wheeler wrote:
Yup. You're right. I missed that one. Here's what I did to simplify
the testing of the script.
#!/usr/bin/perl -w
use strict;
use File::Copy;
copy("/Users/xx/Documents/db1.t
OK... I got the "foo" in my mailbox, so cron is working. So I'll go
with the next step of a basic perl script.
Mark
On Apr 27, 2004, at 8:23 PM, Ken Williams wrote:
On Apr 27, 2004, at 5:07 PM, Mark Wheeler wrote:
Yup. You're right. I missed that one. Here's wh
"activate" perl like I need to when running apache?
Thanks so much for your help,
Mark
On Apr 27, 2004, at 3:46 PM, Bruce Van Allen wrote:
On 4/27/04 Mark Wheeler wrote:
Good question. Here are the results.
The permissions for the /Users/xx/Documents directory is:
drwx-- 7 xxx
Does that look write? Or should the Documents directory be the same as
the Scripts Directory?
Thanks,
Mark
On Apr 27, 2004, at 3:24 PM, Bruce Van Allen wrote:
On 4/27/04 Mark Wheeler wrote:
Yup. You're right. I missed that one. Here's what I did to simplify
the
testing of the scr
Yup. You're right. I missed that one. Here's what I did to simplify the
testing of the script.
#!/usr/bin/perl -w
use strict;
use File::Copy;
copy("/Users/xx/Documents/db1.txt",
"/Users/xx/Documents/db1.txt.bak") or warn "Can't copy file: $!";
Hi,
Thanks all for the help on the mail question a few days back. That's
fixed. Now I've run into another problem. I'm trying to copy a file on
a local network (off a PC) to my Mac. But when the script is called
from within cron, it seems that the script doesn't run. The cron looks
like this:
I've been using MIME::Lite for a couple of years, now. I'll just use
that one. It's quite friendly to work with. I'll give that a try and
see what goes.
Thanks again,
Mark
On Apr 25, 2004, at 3:19 PM, Wiggins d'Anconia wrote:
Mark Wheeler wrote:
Thanks. I'll g
Thanks. I'll give it a try. That makes sense. When you are talking
about mail handling Perl mod, you are talking about NET::SMTP or
something like that, right? Also, why would you not want to use mail
directly?
Thanks,
Mark
On Apr 25, 2004, at 2:53 PM, Wiggins d'Anconia wrote:
Ma
uff...
Kindest Regards,
Bill Stephenson
On Apr 25, 2004, at 4:28 AM, Mark Wheeler wrote:
Hi,
I just installed 10.3 and am trying to get a cron job to fire off a
perl script which will send an email saying the cron job was
completed.
crontab listing
* * * * * /Users/blah/Library/Scripts/test
Hi,
I just installed 10.3 and am trying to get a cron job to fire off a
perl script which will send an email saying the cron job was completed.
crontab listing
* * * * * /Users/blah/Library/Scripts/test.pl
Here is the script:
test.pl
#!/usr/bin
Well, I gave it a wirl and it works great. I love learning new things!
Thanks so much for your help.
Does anyone know of a good site for me to learn more about UNIX permissions?
Thanks again,
Mark
- Original Message -
From: "Paul Hoffman" <[EMAIL PROTECTED]>
To: "
elp,
Mark
- Original Message -
From: "Paul Hoffman" <[EMAIL PROTECTED]>
To: "Mark Wheeler" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 25, 2003 9:08 AM
Subject: Re: File write/read problem
> Mark,
>
> Leave the permissio
In just checked the httpd.conf file and, yes, the user/group is set to
www/www. So I need to change it to what?
Mark
- Original Message -
From: "Paul Hoffman" <[EMAIL PROTECTED]>
To: "John Delacour" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 25, 2003 5:23 AM
Su
ach of these directories are 755. Something is
a miss. So what can I do?! I'm very confused.
Mark
---
On Wednesday, September 24, 2003, at 03:02 PM, John Delacour wrote:
At 11:54 am -0700 24/9/03, Mark Wheeler wrote:
.. I was under the impression
OK, here's the latest. I put in the CGI::CARP...and got my errors to the
screen. On both the read and write to the file (example.txt) if the file
exists and the permissions are sett correctly, for example.txt, everything
works great. BUT two things I noticed:
1. When I ftp a file to the cgi-bin, f
1 - 100 of 104 matches
Mail list logo