Hi Friends,
I've been developing in Perl on OS X ever since the OS X Public
Beta. Somewhere along the line I came to believe that I should
set up my system with the boot drive formatted as Max OS
Extended (Case-sensitive, Journaled).
Emphasis here on Case-sensitive.
My question is: Is this
On 2011-09-28, Lola Lee Beno wrote:
Looks like I need to install make. This means, I need to get XCode so I can
install make, right?
Other than the huge download of a bunch of XCode stuff you might
never use, that's probably the best way to install make.
- Bruce
Hey John (or anyone else),
On 2011-06-17, John Delacour wrote:
I'm afraid I can't advise since I can't stand MySQL and find life much easier
with SQLite.
This aroused my curiosity because I have to switch some Perl
programs written long ago with various flat-file data tables
accessed via
On 2009-11-23 at 11:08 AM, sherm.pend...@gmail.com (Sherm
Pendley) wrote:
http://www.camelbones.org/node/4
The requested URL /CamelBones/1.1/CamelBones-1.1.dmg was not
found on this server.
The link worked when I changed it to:
/CamelBones/1.1/CamelBones-1.1.0.dmg
Note the zero.
On Jan 27, 2008, at 10:53 AM, [EMAIL PROTECTED] wrote:
On Jan 27, 10:49 am, [EMAIL PROTECTED] (Chas. Owens) wrote:
On Jan 26, 2008 10:46 PM, [EMAIL PROTECTED] wrote:
On Jan 22, 2:31 am, [EMAIL PROTECTED] (Brian D Foy) wrote:
[[ This message was both posted and mailed: see
the To, Cc,
On 5/9/07 Jeremiah Foster wrote:
I have blogged a bit about Camel Bones here on O'Reilly. Please
comment if you would so that the python person who commented is not
the sole comment. Nothing personal against python but it sucks.
But let's not turn this into a battle in the best language wars.
On 5/9/07 Jeremiah Foster wrote:
Wed, May 09, 2007 at 08:55:54AM -0700: Bruce Van Allen mangled some
bits into this alignment:
On 5/9/07 Jeremiah Foster wrote:
I have blogged a bit about Camel Bones here on O'Reilly. Please
comment if you would so that the python person who commented
On 5/8/07 Tim Bunce wrote:
On Tue, May 08, 2007 at 05:38:42PM -0400, Sherm Pendley wrote:
On May 8, 2007, at 5:23 PM, Bruce Van Allen wrote:
I think we can confidently answer the Benefits to the Perl
Community issue.
That's my biggest concern. CB is mostly of use to the subset
On 5/9/07 Peter N Lewis wrote:
Perhaps folks have some ideas for apps that could be written in
CamelBones? Something that would presumably use some of the vast CPAN
facilities to make something cool with minimal programming effort.
Mine would not be as flashy as games, but I'm working toward
On 5/7/07 Chris Nandor wrote:
Have you considered a Perl Foundation Grant?
On 5/7/07 Tim Bunce wrote:
Seconded, FWIW.
On 5/8/07 Tom Yarrish wrote:
This just came through on my RSS reader.
http://news.perl-foundation.org/2007/05/calls_for_proposals.html
Let's get behind this. Sherm could do
Peter gave some good examples, so I shortened this to supplement his
suggestions.
I prefer to determine what the end-of-line (eol) character is using
something less slippery than \r and \n. In Perl, \n is the native eol
for the OS that Perl is executing under, so it could any of the \n, \r,
\r\n,
On 4/5/06 Stewart Leicester wrote:
Bruce Van Allen wrote:
Both
defined $phash{D}[3]
and
exists $phash{D}[3]
autovivify $phash{D}.
- Bruce
'defined' will autovivify, 'exists' will not. I'll leave it up to
Doug to decide if knowing that helps.
Oh? Try this:
#!/usr/bin/perl -w
use
On 4/4/06 Doug McNutt wrote:
While messing with CGI POSTed data I got trapped by this one.
Version 5.8.1-RC3 for Mac OS 10.3.9
It appears that the hash element D gets defined in the process of
testing to see if an element in the associated string is defined. The
last if below takes the else
On 4/4/06 Stewart Leicester wrote:
if (! defined $phash{D})
{
print \$phash{D} is undefined, We expected that.\n;
}
Instead of
defined $phash{D}
use
exists $phash{D}
Actually, those mean different things. Neither autovivifies, which was
what Doug was seeking to understand.
On 2/17/06 John Horner wrote:
Nobody's yet mentioned the Image::Size module?
If installing a module is hard, then it doesn't seem sensible to
advise using a different module!
There is an *enormous* difference between installing ImageMagick
(which isn't a module, although you get a perl module
On 1/18/06 Riccardo Perotti wrote:
Hi all:
I have a typical mail cgi script written in perl and can't figure out
why I don`t get an error when the message is not sent.
...
The problem is that it does not die even though the message is not
sent.
I've tried checking $? (child error) but nothing
On 11/10/05 Sherm Pendley wrote:
To the future and beyond!
Is that from a movie, tv show, book, etc.? It sounds familiar, but I
can't quite place it... it's been bugging me for days... ;-)
To infinity and beyond! was from Toy Story.
Best,
- Bruce
__bruce__van_allen__santa_cruz__ca__
On 11/10/05 Bruce Van Allen wrote:
On 11/10/05 Sherm Pendley wrote:
To the future and beyond!
Is that from a movie, tv show, book, etc.? It sounds familiar, but I
can't quite place it... it's been bugging me for days... ;-)
To infinity and beyond! was from Toy Story.
And let me add that I
On 11/4/05 Sherm Pendley wrote:
Here's some good news. I just heard from someone who's been helping
me test CamelBones on Intel, ...
And here's what he had to say about it:
I spent a few minutes clicking around in this latest version on my
Intel box with no apparent failures of any kind. It
On 6/8/05 Sherm Pendley wrote:
On Jun 8, 2005, at 11:38 AM, John Delacour wrote:
To use the Perl that came with the OS, as Sherm recommends, is
simply not satisfactory when important developments are happening
within Perl.
I recommended no such thing. I simply pointed out that a Windows
On 2005-04-11 various people addressed the question:
Does anyone know when Tiger itself will be shipping?
Will those suffering from can't-wait-for-the-next thing please not
infect this list?
Thanks,
- Bruce
__bruce__van_allen__santa_cruz__ca__
On 2005-03-18 Sherm Pendley wrote:
On Mar 18, 2005, at 5:02 PM, john horner wrote:
Downloaded, installed, didn't work, ran the Terminal command, works
just fine
I'm beginning to wonder if *anyone* is still using the Perl that came
with Panther. ;-)
Worked out of the box over here -- but I'm
On 2005-03-03 Tommy Nordgren wrote:
Are there any Graphical User Interface Tools that can set the
executable bits in the file info on disk?
Home is not where you are born, but where your heart finds peace -
Tommy Nordgren, The dying old crone
I suggest SuperGetInfo from Barebones Software
On 2005-02-18 Mark Wheeler wrote:
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)
On 2005-01-21 John Horner wrote:
At 9:34 PM -0800 20/1/05, Chris Nandor wrote:
it handles all the same Perl stuff as its bigger sibling: syntax
coloring, running scripts, filters, debugging, viewing POD, etc.
How does BBEdit view POD? I never knew about that.
Open a Perl script or module in BBE
On 2004-11-22 Dan Buettner wrote:
Ideally, I'd like to have the window have a fixed display (no
scrolling) and always output the information from a specific thread in
a specific position. In other words, Thread 1 gets the first 2 lines,
Thread 2 gets lines 3 and 4, etc.
Maybe you could
On 2004-10-13 Bill Stephenson wrote:
On Sep 9, 2004, at 2:06 PM, Sherm Pendley wrote:
I can configure Console.app to automagically pop itself to the front
of the window stack whenever anything gets appended to Apache's (or
some other) error log.
Hey Sherm,
I've been thinking about that
On 5/29/04 Timothy Bailey wrote:
On Thu, 27 May 2004 20:24:28 -0700, someone going by the name of
Bruce Van Allen [EMAIL PROTECTED] spoke:
You can also download it from Apple. You have to join as a developer,
but that's no big deal. Then just make sure you get the Developer
Tools
appropriate
On 5/27/04 Timothy Bailey wrote:
Hmm, I did buy the computer used, and reinstalled the OS that came
with it (10.2, two CDs), and I thought I had installed everything off
of them. (Of course, this =is= my first experience with OSX.) Is
there a third CD I should have gotten with Jaguar?
Yes.
Try this (working from your code as much as possible):
#!/usr/bin/perl -w
use strict;
sub solve
# solves any given function
{
my ($funct) = @_;
return f(3) = . $funct-(3);
}
sub foo
# a function to solve
{
my ($x) = @_;
return This should print 6: . ($x + 3);
}
print
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 script.
copy(/Users/xx/Documents/db1.txt,
/Users/xx/Documents/db1.txt.bak) or warn Can't copy file: $!;
-
I know the cron
, at 3:24 PM, Bruce Van Allen wrote:
Is that Permission Denied for execution of your script? Perhaps
it's for writing the file. Check the write permissions of the
/Users/xx/Documents directory.
1;
- Bruce
__bruce__van_allen__santa_cruz__ca__
On 4/27/04 Mark Wheeler wrote:
OK... I changed the permissions. Still no change. The file is not being
backed up.
One more permission to check, which is whether the original file may be
read 'executed' by your script. Should be:
-rwxr-xr-x
How do I check to see if the script is even
On 4/27/04 Ken Williams wrote:
On Apr 27, 2004, at 5:46 PM, Bruce Van Allen wrote:
Most likely your script is not running as owner, so you probably want
drwxrwxrwx
for the Documents directory ( chmod 0777, '/Users/xx/Documents'
).
That's a bad idea. I wouldn't want *my* Documents
On 3/4/04 Baiss Eric Magnusson wrote:
I went back and removed files and then tried a clean install of
Mail-Sendmail-0.78.tar.
[snipped description of errors]
The errors most certainly relate to the way Base64 and QuotedPrint were
installed, now if I can just find the versions of those modules
On 3/4/04 Bruce Van Allen wrote:
In your Terminal, type 'cpan' without the quotes. You'll get the CPAN
shell, and the first time you'll be taken through its configuration. On
Sorry, less grief if you type 'sudo cpan' at your Terminal/command line
prompt.
Use your administrative password
On 1/10/04 wren argetlahm wrote:
--- Piers Cawley [EMAIL PROTECTED] wrote:
This is because 'return undef;' is good, but 'return;' is better. It
returns the correct, context dependent representation of false.
That seems to have fixed my problem, but I'm not sure why it works. My
error($error) is
OK, one more thing to add to the tutorial the OP just got on CGI scripting:
In the CGI execution context (webserver), it's best to put your output last. As soon
as you do this:
print Content-type: text/html\n\n;
print ... ;
don't rely on the webserver to do much more for you
On 11/21/03 Chris Devers wrote:
On Fri, 21 Nov 2003, Bruce Van Allen wrote:
My experience across about many different commercial and institutional
web servers leads me to at minimum wrap up all system-related actions
like file ops -- before printing output. And the best approach is:
output
On Saturday, March 15, 2003, at 12:25 PM, Chris Nandor wrote:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Randal L. Schwartz) wrote:
You don't make fun of a man's name. Period.
That is your opinion, it is not a rule, and stating it as a rule
doesn't
make it one. Your Jedi mind tricks
Thanks Matt and drieux for the background and leads for exploring this
further, especially along the lines of translating to Postscript, an
area I was already wanting to learn more about.
On Wednesday, February 19, 2003, at 10:06 AM, Matthew Langford wrote:
The problem may not be with Perl's
I was hoping someone could offer some useful advice here. I've just
begun fiddling with lpr recently, and am still very ignorant, so after
the OP's first query, I immediately tried to print something with a
form feed on my laser printer Speedy (OS X 10.2.4, Perl 5.6.1):
#!/usr/bin/perl -w
open
Has anyone successfully installed Event.pm on darwin's Perl? I have OS
X 10.2.4, with Perl 5.6.1 replacing Apple's install of 5.6.0. I need
Event for Net::Z3950.
Poking around, I've found that Event.pm has problems installing on
Windows.
The installation (via CPAN; also tried via CPANPLUS)
Hey Nat -- Thanks. Downloaded and installed just fine on my t?rusty
G4-350, OS X 10.2.3.
I've been under a major deadline until last week, so I've just been
watching everyone's travails with upgrading their OS X Perl
installation. I took the risk of upgrading to Jaguar when it came out,
but
At 1:31 PM -0500 11/27/02, Dan Sugalski wrote:
At 12:59 PM -0500 11/27/02, Chris Devers wrote:
On Wed, 27 Nov 2002, Nathan Torkington wrote:
\ I've been working with other editors at O'Reilly to free up my time so
that I can work on the second edition. Tom's been doing a lot of the
Cool.
At 10:02 PM -0400 10/23/02, Sherm Pendley wrote:
Here's a tip: If you're doing web development, Console.app is
insanely great. Start it up, open the /var/log/httpd/error_log
file, and then hide the app. Whenever an error is logged,
Console.app automatically unhides itself to show you the
At 1:01 PM -0500 2002-10-07, Puneet Kishor wrote:
s/ +/ /g;
seems to work just as well. Which begs the question... why even have
\s? maybe because tmtowtdi?!
\s stands for white space: [ \t\n\r\f].
HTH
1;
--
- Bruce
__bruce_van_allen__santa_cruz_ca__
At 1:23 PM -0500 2002-10-07, Puneet Kishor wrote:
Bruce Van Allen wrote:
At 1:01 PM -0500 2002-10-07, Puneet Kishor wrote:
s/ +/ /g;
seems to work just as well. Which begs the question... why even have
\s? maybe because tmtowtdi?!
\s stands for white space: [ \t\n\r\f].
yes, I know
At 9:01 PM -0500 2002-10-03, Puneet Kishor wrote:
I have Golive 5, but didn't invest in 6 because I discovered it
didn't do anything for Perl. Is the SDK GL6 specific? I have no idea
what knowledge it
On Thursday, October 3, 2002, at 01:18 PM, Troy Davis wrote:
I use GoLive to create
At 1:20 PM -0400 2002-08-30, Warren Pollans wrote:
Hi Folks,
This is not OSX-related, but I'm hoping that some OSXer could point
me in the right direction. This has to have a RTFM answer but I
haven't been able to find the FM to R.
With Perl, there is always its own internal documentation,
on 2002-06-26, drieux wrote:
Well here is the problem in more unpleasantry.
I do the
make dist
load the *.gz it up to the server
then download it - and let the StuffIt unwrap it - and
i have a folder on my desktop - I use a terminal to go
in and check the date stamps - they are -
At 11:43 AM -0700 2002-04-24, drieux wrote:
volks,
I am just starting on with the process of
use Benchmark;
and have stumbled myself into the problem that
I need to run 'Time::HiRes' like resolutions to
get a better sub-second resolution to resolve
the delta's - does anyone know of any
At 1:01 AM -0400 4/16/02, Chris Devers wrote:
On Mon, 15 Apr 2002, Puneet Kishor wrote:
sorry guys, maybe I'll lurk, maybe I'll leave, maybe I'll go back to my
No no no, please don't leave.
Please accept my deep sincere apologies for what I wrote.
Chris Devers
May I say that:
1. Chris'
At 4:25 PM -0600 12/1/01, Joshua Kaufman wrote:
Thanks for the help. Now I can see the errors that the script is
generating, but I'm still not sure how to access argv from my perl
script. For example, if I want to assign the contents of argv to
@some_array how do I do that?
Tantalizingly, if
At 10:00 PM -0400 8/23/01, Sean P. Scanlon wrote:
en1 or en0 is the name of the interface. if you have only one
ethernet card, you will get an error
trying to get the ip address of the second (non-existent) interface.
Thanks for the info. So I can explore this further, I assume since
it's
55 matches
Mail list logo