Re: Advice for enabling perl on OSX

2004-04-22 Thread Chris Devers
ard port (16nnn), so I'm assuming that Eric knows how to test & restart his Apache instance. But yes, use sudo for `apachectl` commands. -- Chris Devers

Re: Phanter (10.3.3) and DBI perl module.

2004-05-14 Thread Chris Devers
don't worry about it -- just put the error messages directly into an email to the list and we will try to help you. -- Chris Devers

Re: Icon in Address Bar

2004-04-25 Thread Chris Devers
esn't say it can do that; a 16x16 bitmap file will work as an icon [on Windows] with the .ico extension, and will be served by the web server with the favicon.ico name. And yes, PerlMagick would be the most apropos suggestion :-) -- Chris Devers

Re: Image::Magick

2004-04-27 Thread Chris Devers
Easy Solution one of these: sudo fink install imagemagick or, for the pre-built binary version, sudo apt-get install imagemagick ? Hand-rolling popular software from source is nice and all, but how many times does the wheel need to be re-invented, ya know? :-) -- Chris Devers

Re: Image::Magick

2004-04-27 Thread Chris Devers
On Tue, 27 Apr 2004, Sherm Pendley wrote: > On Apr 27, 2004, at 2:58 PM, Chris Devers wrote: > > > how many times does the wheel need to be re-invented, ya know? :-) > > I've always thought that an odd expression. Fair enough :-) But still, think about it: do we ne

Re: Access External Hard Drive - Local and Network

2004-04-29 Thread Chris Devers
used, it's just being supplemented. So as the earlier mail you got suggested, everything is in /Volumes. -- Chris Devers

Re: backing up system

2004-04-30 Thread Chris Devers
awake (for a long enough > period) when cron fires. Isn't that the sort of problem that Anacron is supposed to solve? <http://anacron.sourceforge.net/> Seems like it might make this sort of thing easier... -- Chris Devers

Re: backing up system

2004-04-30 Thread Chris Devers
They come right out and say on their home page that this isn't meant to replace the traditional Cron system, but rather to supplement it for people with different usage patterns (laptops, people who turn their machine off at night, etc). -- Chris Devers

[non-perl] osx startup & login items, was Re: LC_ALL for daemons

2004-04-30 Thread Chris Devers
only set variables, not launch programs (as far as I know). No help there. Can you have a shell script launch as a login item? I've only been able to get graphical applications to launch this way. I've poked at "SSH Agent.app", but it kept crashing... Suggestions welcome :-) -- Chris Devers

Re: Access External Hard Drive - Local and Network

2004-04-30 Thread Chris Devers
f balancing quotes & backslashes appropriately. Make sense? It may be easier for you to just symlink the semi-colon version of the name to an easier equivalent: $ ln -s /Volumes/PRINCETON\;DELLSERVER /Volumes/dellserver And things should be much easier in Perl-land after that... -- Chris Devers

Re: backing up system

2004-05-02 Thread Chris Devers
r user name and password". So it seems like you can't fake it trivially. I don't see anything obviously helpful in my <~/Library/Preferences>... -- Chris Devers

Re: OS X

2004-05-06 Thread Chris Devers
ame location.) I hope this helps. If you find the Sams book unhelpful, you may want to take a look at _Learning Perl_ by Randal Schwartz & Tom Phoenix: <http://www.oreilly.com/catalog/lperl3/> Please ask the list if you have more questions, or would like a more detailed walkthrough of how to get a simple first program running. -- Chris Devers

Re: sudo and cpan

2004-05-06 Thread Chris Devers
question. Your /usr/bin/cpan should just be a little Perl script that amounts to little more than this: $ /usr/bin/perl -MCPAN -e shell If you have a newer version of Perl in /usr/local, try this $ sudo /usr/local/bin/perl -MCPAN -e shell And you should end up with about the same behavior. -- Chris Devers

Re: OS X

2004-05-06 Thread Chris Devers
D]> list. Many of us subscribe to this list because we like being able to help out new users, so keep us in mind if things aren't making any sense for you. -- Chris Devers

Re: sudo and cpan

2004-05-06 Thread Chris Devers
tion offered and remove the .lock file. Are you not getting an error message to the effect of what I put here? > I'm thinking too hard, I know. Time to install XML and get back to work. Heh, "now you have two problems!" :) -- Chris Devers

Re: (sips?) Re: Converting PDF to JPEG

2004-05-18 Thread Chris Devers
sn't seem to be a man page, but then the person who first suggested it did say it wasn't very well documented. In any case, the help page is a decent start... -- Chris Devers

Re: Basic question

2004-05-22 Thread Chris Devers
t's probably best not to put "." in the $PATH anymore. -- Chris Devers

Re: which perl [am I using?]

2004-06-03 Thread Chris Devers
in /Library/Perl > /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl > /Network/Library/Perl .). > > so those are presumably the default locations, but does CPAN have the > same defaults? It should go by the @INC array, yes. This could again come down to multiple copies of Perl installed. -- Chris Devers

Re: Whither Developer Tools?

2004-06-09 Thread Chris Devers
f it on the hard drive at . If the machine came with a disc labelled XCode, that's what you need. If not, you can always copy if off your collegue's hard drive. -- Chris Devers

Re: Interface advice needed

2004-06-15 Thread Chris Devers
hen let the list know if it isn't suitable for what you need to do, please :-) -- Chris Devers

Re: Confusion about "die"

2004-07-02 Thread Chris Devers
rry, couldn't resist... -- Chris Devers

Re: Cannot load DBD::MySQL - Can't locate connnect.al

2004-07-14 Thread Chris Devers
n right, it'll Just Work. In Time. The fact that you spell out what you did for each of "perl Makefile.PL", "make", etc suggests that you're doing this by hand. This used to be the normal way to install Perl modules, but CPAN.pm has been around for a few years now and it's much less painful than doing all this by hand. -- Chris Devers

Re: Incorrect Path or format?

2004-07-27 Thread Chris Devers
.perl.org/>; there's a subscription box on the top-right side of the page. There's also a FAQ for the list at <http://learn.perl.org/beginners-faq>. Good luck with your project :-) -- Chris Devers

Apache::MP3 no worky

2004-08-03 Thread Chris Devers
have Apache::MP3 working on Panther? -- Chris Devers

Re: Apache::MP3 no worky

2004-08-03 Thread Chris Devers
n this context -- I still just get no output, normal access logs, and no recorded activity in the error log. Weird. -- Chris Devers

Re: List::Util

2004-08-06 Thread Chris Devers
aults are fine. Once the questions are done, it should find, download, and install the module for you. The Perl beginners list is the right place for these sorts of questions: <[EMAIL PROTECTED]> or <http://learn.perl.org/> -- Chris Devers

Re: Download images/movies

2004-08-21 Thread Chris Devers
nstead of "image/jpeg". This can probably be done with about half a dozen lines of code, and if the browser is well behaved -- that'll be the part that's a pain to verify -- the alternate content type should force the right behavior. Let me know if you find this d

Re: Download images/movies

2004-08-23 Thread Chris Devers
ilar), and then you automatically get a clone of the directory tree. From there, the image gallery application can be set up to serve things like and then all people would have to do to save a file would be click it. This is much better than what I was thinking earlier! :-) -- Ch

Re: Download images/movies

2004-08-23 Thread Chris Devers
On Mon, 23 Aug 2004, william ross wrote: On 23 Aug 2004, at 12:14, Chris Devers wrote: On Mon, 23 Aug 2004, william ross wrote: This will mean that jpegs in that directory can't ever be used on pages -- which would kind of ruin the fun. There seems to be an easy workaround though: symlink ~/

Re: Download images/movies

2004-08-24 Thread Chris Devers
The image tree will now be available for regular browsing at <http://site/photos/> as before, but also for downloading at <http://site/photo-dl/>. No mucking around with whitelists. No risk of nasty path ../foo tricks. It should Just Work. And if it doesn't, your script wouldn&

Re: Brand New Empty Mac

2004-08-25 Thread Chris Devers
les (notably DBD::mysql) from building properly. ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc' with ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc' Other than that, things should Just Work. -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: '

Re: Upgrading from 10.1 to 10.2

2004-08-31 Thread Chris Devers
rough 10.2, so you should be pretty safe in this case. -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Mahna Mahna!' by The Muppets from 'The Muppet Show'

Re: Upgrading from 10.1 to 10.2

2004-08-31 Thread Chris Devers
every 3 months" chestnut -- there may be an element of truth in there, but if the system has been maintained well, that's really overkill. *shrug* -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Movin' Right Along (lo-fi midi version)' by The Muppets from 'The Muppet Movie Soundtrack'

Re: mount ftp network disk

2004-09-09 Thread Chris Devers
ponsively, on the command line. * I can't figure out how to unmount it... :-) Aside from that little wrinkle, this seems to work well... -- Chris Devers

Re: mount ftp network disk

2004-09-09 Thread Chris Devers
you can mount a filesystem by poking at a command line tool, intuitively it seems like it should be much less overhead than bringing in the Finder & AppleScript machinery. BTW, one little catch is that it is read-only. For backups, that's probably okay though. -- Chris Devers [EMAIL P

Re: BBEdit 8.0

2004-09-10 Thread Chris Devers
HTML code; it provides regex search & replace capabilities; and it has some kind of support for managing changes to a document, though I haven't played with this feature. Learn more here: <http://www.codingmonkeys.de/subethaedit/> -- Chris Devers

Re: mount ftp network disk

2004-09-10 Thread Chris Devers
ncftp is also nice... -- Chris Devers

Re: Net::SSH::Perl

2004-09-14 Thread Chris Devers
On Tue, 14 Sep 2004, The Ghost wrote: > I can't get Math::Pari (dependency for Net::SSH::Perl) to build > on OS X 10.3.5. Suggestions? Try harder ? Send error messages along with questions you expect real answers for ? -- Chris Devers

Re: 10.3.5 - mod_perl upgrade trouble

2004-09-20 Thread Chris Devers
now if it doesn't work. This ought to be in a prominent Perl/OSX10.3 FAQ somewhere... :-/ Longer version of the above, with links & references, etc: <http://devers.homeip.net:8080/blog/archives/64.html> -- Chris Devers

Re: Thunderbird

2004-09-21 Thread Chris Devers
On Tue, 21 Sep 2004, wren argetlahm wrote: > Any other suggestions? It may not be the smallest solution, but Palm Desktop may be an effective intermediary. The program is a free download, and among other things it can able to import & export several address file formats. -- Chris Devers

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Chris Devers
ne. It's certainly a very easy & painless way though: % sudo fink -y install imagemagick % sudo perl -MCPAN -e 'install Image::Magick' This gets you 90% of the way there, at least. The ability to do this by hand can obviously be valuable, but it can hardly be easier :-) -- Chris Devers

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Chris Devers
ng the Image::Magick CPAN module. Again, Fink will help you here. $ sudo apt-get install perlmagick-pm581 or, once more, build from source, with $ sudo fink -y install perlmagick-pm581 Plant, water, watch it grow, harvest when ripe. You can do this all by hand, but there's not much point in doing so. -- Chris Devers

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Chris Devers
On Wed, 22 Sep 2004, Sherm Pendley wrote: > On Sep 22, 2004, at 4:13 PM, Chris Devers wrote: > > > If you really want to prove to yourself how much rounder your wheel will > > be, then yes, use the Unix instructions. > > Or, if you want to see how that wheel got so r

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Chris Devers
you want & get going. You're getting hung up on the least interesting part of programming! :-) -- Chris Devers

Re: ImageMagick/PerlMagick on Panther

2004-09-23 Thread Chris Devers
x27;ve almost got it, and if you had tried `fink --help` or `man fink`, you may well have been able to figure out the rest on your own. -- Chris Devers

Re: ImageMagick/PerlMagick on Panther

2004-09-23 Thread Chris Devers
% If what you get isn't roughly the same, then you may have to include a `use lib ...` statement in your scripts to tell them where to look for the Image::Magick library. But hopefully this Just Works. -- Chris Devers

Re: ImageMagick/PerlMagick on Panther

2004-09-23 Thread Chris Devers
0.3/Panther. Once XCode / devtools are installed, you should end up with a copy of GCC and related tools in /usr/bin/gcc, /usr/bin/make, etc. Once you've got all that, then go back and try building perlmagick-581 with Fink. This time around, it should work just fine. Let us know if you have any problems :-) -- Chris Devers

Re: Thunderbird

2004-09-23 Thread Chris Devers
sn't mean that it makes sense to get rid of it altogether... -- Chris Devers

Re: Thunderbird

2004-09-24 Thread Chris Devers
ulty reading it? It looks like it's using DOS line endings: \r\n That may be required by the spec, I don't know... -- Chris Devers

Re: [OT] Text Editor for OSX

2004-10-03 Thread Chris Devers
o do. I just think the most productive approach would be to build on top of an existing & reasonably complete editor rather than starting everything from scratch... -- Chris Devers

Re: [OT] Text Editor for OSX

2004-10-04 Thread Chris Devers
e it's something that would be useful to lots of people... -- Chris Devers

Re: Getting started with Perl OSX

2004-11-01 Thread Chris Devers
want to look at a good Unix book that includes documentation about OSX. _Unix Power Tools_ is an excellent book, and I seem to remember the current edition having a Perl section (though I may be wrong about that), and I know it specifically talks about OSX in places. -- Chris Devers

Re: Perl/Tk ???

2004-11-09 Thread Chris Devers
erl, take a look at the CamelBones project: <http://camelbones.sourceforge.net/> -- Chris Devers

Re: MOD_PERL and OSX

2004-11-09 Thread Chris Devers
sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }" Details: <http://devers.homeip.net:8080/blog/archives/64.html> This seems to have fixed the problems I was having getting some mod_perl applications (Apache::MP3, etc) to work. -- Chris Devers

Re: MOD_PERL and OSX

2004-11-11 Thread Chris Devers
is or did this not fix the problem? You make it sound like it didn't work, but you're using it anyway (unless I'm just being thick, which is possible, as it's been a long day...). -- Chris Devers

Re: MOD_PERL and OSX

2004-11-11 Thread Chris Devers
n remove this TIE > code and just follow the rules better. > > =) Ahh, I see. Weird, but if it works... -- Chris Devers

Re: Trying to Install Bundle::DBD::mysql

2004-12-20 Thread Chris Devers
atabase. It has no relation at all to the system 'root' account on your computer. MySQL has its own set of accounts which generally have no connection to the ones on the system that the database server is running on. -- Chris Devers

Re: catnip.local (redirect)

2005-01-06 Thread Chris Devers
fixing the symptom (redirecting the host name) rather than the real problem (apache should use a portable name). Fix the real problem and the symptom will go away. -- Chris Devers

installation weirdness with Mac::Glue

2005-01-14 Thread Chris Devers
C Power Macintosh powerpc % perl -v | grep -i 'this is perl' This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level Any ideas? Are installations like this normal for Mac::Glue? -- Chris Devers

Re: Perl stopped working on Apache 1.3.3, but then starts?

2005-02-08 Thread Chris Devers
ternal error page, but do not see any errors in apache error log. > I tested via Terminal calling a Perl script and it seemed to work fine. What shows up in the Apache logs when someone hits this page? Do successes & errors look the same in the log? -- Chris Devers

RE: Perl stopped working on Apache 1.3.3, but then starts?

2005-02-08 Thread Chris Devers
f there is any record of what the problem may have been. You may or may not see any useful patterns, but it sounds like that's the only data you have to work with now. -- Chris Devers

Re: Can't get DBD::mysql installed

2005-02-15 Thread Chris Devers
same problem. It's better to address what's really causing this error. (Not that this is a mod_perl issue either, but oh well.) -- Chris Devers

Re: Can't get DBD::mysql installed

2005-02-16 Thread Chris Devers
On Wed, 16 Feb 2005, Boysenberry Payne wrote: > On Feb 15, 2005, at 1:09 PM, Chris Devers wrote: > > > ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc' > > Thanks for the patch/fix. Do you think I should rebuild DBD::mysql? It certainly wouldn't hurt, and it would only

RE: Can't get DBD::mysql installed

2005-02-16 Thread Chris Devers
l question -- and based on your pathnames, this doesn't look like OSX -- then you need to ask the people on that list. My mod_perl-foo is *really* musty, and I haven't touched mod_perl under Apache 2 at all yet, so your best bet is try asking others... :-) -- Chris Devers

Re: Can't get DBD::mysql installed

2005-02-17 Thread Chris Devers
9 2004 17:59:31 $ sw_vers ProductName:Mac OS X ProductVersion: 10.3.8 BuildVersion: 7U16 $ Panther server may ship with Apache 2, but the regular version doesn't. -- Chris Devers

Re: Heredoc

2005-02-18 Thread Chris Devers
On Fri, 18 Feb 2005, Jeremy Mates wrote: > * Christopher L. Filkins <[EMAIL PROTECTED]> > > I'm looking for the perl equivalent of a heredoc declaration. For some > > reason I can't recall how. In php it would work like this: > > my $foo = < > Stuff stuff stuff > > EOD I've never quite unde

Re: Heredoc

2005-02-18 Thread Chris Devers
On Fri, 18 Feb 2005, Jeremy Mates wrote: > Warning! The qq[] syntax produces different output than the heredoc: > > my $foo = < asdf > EOD > > my $bar = qq[ > asdf > ]; > > print "uh oh" unless $foo eq $bar; Right. The qq[] syntax above & as I offered earlier, tacks on newlines. These are id

Re: could not build a module

2005-02-24 Thread Chris Devers
fic XCode IDE. Maybe it was decided that the 10.0 - 10.2 era "[Month] [Year] OSX Develeoper's Tools" was a clumsy name that had to be retired, and that having the same name for two things was acceptably annoying. *shrug* -- Chris Devers

Re: What Perl editor do you recommend?

2005-03-02 Thread Chris Devers
Vim as simple to use as TextWrangler / BBEdit / SubEthaEdit / etc, but it's a lot more friendly than the original Vi ever was... -- Chris Devers

Re: First CGI Setup

2005-03-10 Thread Chris Devers
ions of Unix: it can be flaky & fiddly, and there's a lot to learn, but getting up & running with it on Unix (including OSX) is a *lot* less painful than it would be on the Windows version of Apache. Or at least, that has been my experience. -- Chris Devers

Re: First CGI Setup

2005-03-10 Thread Chris Devers
(); use Apache::MP3::Sorted(); 1; Modules you use a lot can be addded here to improve performance, but adding too much can slow all accesses down. Balance accordingly. Hopefully, the package you're setting up -- AxKit in this case -- will have instructions for what it needs to

Re: First CGI Setup

2005-03-11 Thread Chris Devers
pd.conf # I get a file like "httpd.conf.20050311.15629". $ vim httpd.conf && apachectl configtest # I make a royal mess of things. Damn. $ cp httpd.conf.20050311.15629 httpd.conf $ apachectl configtest # All is right with the world again. Something like CVS / SVN / BitKeeper would be "better", but not easier. -- Chris Devers

Re: perl.h?

2005-03-14 Thread Chris Devers
led XS component, you need the XCode toolkit anyway, so you might as well install it if you haven't done so already. -- Chris Devers

Re: problem with installing DBD::mysql

2005-03-15 Thread Chris Devers
#x27;env MACOSX_DEPLOYMENT_TARGET=10.3 cc' Do that, and DBD::Mysql (and anything else that trips over this bug) will work just fine. -- Chris Devers

Re: problem with installing DBD::mysql

2005-03-15 Thread Chris Devers
t it's not *quite* such an old bug -- it only impacts 10.3. On the other hand, we still have Jaguar users today. Not many, but a few. We'll probably have people using Panther, and hitting this bug, for at least a couple more years... :-/ -- Chris Devers

Re: [OT?] libxml2/libxslt and OSX

2005-03-17 Thread Chris Devers
elp much on OSX. I'm not aware of any porting framework that uses it. Aside from Fink, the other main one, GNU/Darwin, is (ironically?) based on the BSD ports system. I've not heard of anyone porting over the RedHat porting framework to OSX. -- Chris Devers

Re: ANN: ShuX 3.0-beta1

2005-03-18 Thread Chris Devers
write org.dot-app.CamelBones perl /usr/local/lib/perl5/5.8.6 It sounds like that will fix it. -- Chris Devers

Re: ANN: ShuX 3.0-beta1

2005-03-18 Thread Chris Devers
s > installed into - didn't work. Based on the mail Sherm sent under a different subject, it sounds like this currently won't work, as ShuX only bundles support for Perl 5.8.1. With that in mind, and assuming you still have the original file that Apple put at /usr/bin/perl5.8.1, can you use the line unamended? -- Chris Devers

Re: GUI for Perl

2005-03-21 Thread Chris Devers
On Sun, 20 Mar 2005, David Linton wrote: > What's the least I need to know and where should I start to look for > info? e.g. FAQ, example scripts Camelbones: <http://camelbones.sourceforge.net/index.php> -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080

Re: "Tiger" version

2005-04-11 Thread Chris Devers
ese events: <http://seminars.apple.com/tradeshows/> But really, no one (that is allowed to say) knows yet. Your best bet is to just keep an eye on tech news sites. The release of Tiger will surely be a headline on CNet, Slashdot, etc, and maybe even non-tech-specific sites like CNN or the BBC. -- Chris Devers

Re: "Tiger" version

2005-04-12 Thread Chris Devers
e of the main Unix software they're going to be distributing: Perl, Python, Ruby, GCC, etc. Now that a release date is imminent, maybe they can update the page to have this information. Didn't the promo pages for 10.3 have all of this kind of thing? -- Chris Devers

Re: "Tiger" version

2005-04-12 Thread Chris Devers
On Tue, 12 Apr 2005, Stephan Hochhaus wrote: > Are you looking for this? > http://www.apple.com/opensource/ That's the one! Looks like it'll be Perl 5.8.6 then... -- Chris Devers

Re: command-line tweaking of "Open With..." settings?

2005-04-23 Thread Chris Devers
faultApp-1.2.1/RCDefaultApp.prefPane/Contents/Resources/lstool Usage: lstool read [ []] lstool write is one of: internet, url, extension, mime, ostype is the path to an application or a name to be looked up $ I suspect that this can be used to do what you need. Somehow...

Re: ModPerl on Tiger

2005-05-18 Thread Chris Devers
ing tricks in httpd.conf to get mod_perl to work, everything works fine in Tiger. (Though I've yet to try installing RT, that'll be the real test. I was never able to get it to work right on Panther...) ...was there supposed to be a (b) in there somewhere? -- Chris Devers

Re: Net::FTP on Tiger

2005-06-03 Thread Chris Devers
es. If you go into the Network panel and show your main interface, then click on the Proxies tab, there will be a prominent checkbox: [ ] Use Passive FTP Mode (PASV) Checking that should be equivalent to the old $PASSIVE_FTP variable, but should apply to all programs, graphical, command line, or self-made. -- Chris Devers

Re: Net::FTP on Tiger

2005-06-03 Thread Chris Devers
27;m wrong. I'd never noticed that checkbox under previous versions of OSX. This page seems to be the relevant one for 10.4 -- <http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh609.html> -- but it doesn't really clarify things one way or the other. :-/ -- Chris Devers

Re: Net::FTP on Tiger

2005-06-03 Thread Chris Devers
sive => 0) > > ) would solve the problem? Yes, this sounds like the fix you're looking for. -- Chris Devers

Re: Did Strict get Stricter?

2005-06-03 Thread Chris Devers
t/perl/pod/perl583delta.pod> <http://search.cpan.org/dist/perl/pod/perl582delta.pod> <http://search.cpan.org/dist/perl/pod/perl581delta.pod> -- Chris Devers

Re: CamelBones on Intel? Maybe not.

2005-06-07 Thread Chris Devers
with the deal. Phrase it that way and it's actually kind of cheap... :-/ -- Chris Devers still baffled by what this all means

Re: Parsing Jpeg files for comments

2005-06-08 Thread Chris Devers
y $info = image_info("image.jpg"); if (my $error = $info->{error}) { die "Can't parse image info: $error\n"; } my $color = $info->{color_type}; my($w, $h) = dim($info); Accessing the comment field is a one-line change to this block. Hel

Re: ActiveState is announcing support for Mac OS X

2005-06-08 Thread Chris Devers
ac OS X sooner than this. The timing of the announcement seems curious to me... -- Chris Devers

Re: ActiveState is announcing support for Mac OS X

2005-06-08 Thread Chris Devers
s as standard with each major iteration of the system. -- Chris Devers

Re: question on Perl's ssh

2005-06-24 Thread Chris Devers
would be easier than setting it manually. -- Chris Devers

wildly off topic, sorry, was Re: question on Perl's ssh

2005-06-24 Thread Chris Devers
f.org/public/pidtracker.cgi?command=view_id&dTag=12542&rfc_flag=0> <http://spf.pobox.com/> <http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx> <http://www.ietf.org/iesg.html> <http://www.dmnews.com/cgi-bin/artprevbot.cgi?article_id=33190> -- Chris Devers

Re: Cat and Dos2unix Command Line Utilities?

2005-07-08 Thread Chris Devers
as Perl can do that one too, but then I haven't actually looked at this package so I don't know how he's trying to use it; maybe it isn't really a Useless Use Of Cat :-) -- Chris Devers

Re: Cat and Dos2unix Command Line Utilities?

2005-07-08 Thread Chris Devers
On Fri, 8 Jul 2005, Joseph Alotta wrote: On Jul 8, 2005, at 9:26 PM, Chris Devers wrote: #!/bin/sh perl -pi -e "tr/\r//d" I tried to call perl directly. But this does not work at all. Does anyone know why? #!/usr/bin/env perl -pi -e "tr/\r//d" See, I was onl

Re: psync and MacOSX::File installing with cpan

2005-07-08 Thread Chris Devers
d eq "avbstcLinmed" ? ok(1) : ok(0); The second failed test is nearly identical: use MacOSX::File; use MacOSX::File::Info; ... my $asked = askgetfileinfo("dummy"); ok($asked eq "avbstcLinmed"); So... something wrong with askgetfileinfo() on Tiger maybe ? -- Chris Devers

Re: CPAN modules not included with OS X

2005-12-29 Thread Chris Devers
r daily, so keeping up is impossible anyway. There has been talk of including fewer CPAN modules with future versions of Perl, to get people into the habit of installing things when previously they might not have wanted to go beyond the core modules. *shrug* -- Chris Devers DO NOT LEAVE IT IS NOT REAL

Re: CPAN modules ...

2005-12-29 Thread Chris Devers
uld be very convenient if > > I could make CPANPLUS ar CPAN work. Any suggestions? > > Choose a less busy mirror? And/or check that passive-mode FTP is enabled? (Hint: $ENV{FTP_PASSIVE} is the one you need, if I remember right...) -- Chris Devers DO NOT LEAVE IT IS NOT REAL

Re: CPAN modules ...

2005-12-31 Thread Chris Devers
On Sat, 31 Dec 2005, John Delacour wrote: > Try this: > > #!/usr/bin/perl > print `/usr/bin/./printenv` ^^ ^^ Why the '/./' here? Isn't `/usr/bin/printenv` equivalent, clearer, and simpler? -- Chris Devers DO NOT LEAVE IT IS NOT REAL

<    1   2   3   4   >