On 7 Jan 2009, at 15:24, Vic Norton wrote:
I just installed Mac OS X 10.5, and I'm trying to get Perl back up
to snuff. My current @INC contains only
/System/Library/Perl/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/5.8.8
/Library/Perl/5.8.8/darwin-thread-multi-2level
Try adding this to your ~/.profile
export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8
OS X 10.5 (or at least my version of 10.5) uses ~/.bash_profile not
~/.profile for user overrides to the default profile (/etc/bashrc).
If this is a multiuser machine and you want the other
On 7 Jan 2009, at 16:19, Chas. Owens wrote:
On Wed, Jan 7, 2009 at 11:13, Adam Witney awit...@sgul.ac.uk wrote:
Try adding this to your ~/.profile
export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8
OS X 10.5 (or at least my version of 10.5) uses ~/.bash_profile
This may be slightly off topic, but I have just bought an iBook off
eBay, and it comes with a fresh install of 10.3, however it doesn't have
the Developers Tools installed.
I will be using this for Perl development, so i need to be able to
compile and install modules, do i need the whole
Hi,
I have a problem where a number read from a file is being treated as a
string by perl (I think!). I am using the module RSPerl which is an
interface between Perl and the statistical language R. When i read a
column of numbers from a file and pass it to the perl/R function i get
an invalid
On 1/3/06 1:55 am, Peter N Lewis [EMAIL PROTECTED] wrote:
At 17:25 + 28/2/06, Adam Witney wrote:
Does this work on all platforms? When I try it it works fine on OSX/Linux
with MAC/DOS/UNIX line endings, but fails (reads the whole file) when
reading DOS line endings on WinXP... Here is my
At 15:15 + 22/12/05, James Harvard wrote:
I'm trying to detect a file's line endings (\r\n for DOS, \r for Mac and \n
for Unix as I'm sure y'all know).
Is there any easy way to do this?
use Fcntl;
sub get_line_ending_for_file {
my( $file ) = @_;
my $fh;
sysopen( $fh,
Hi,
I am using PerlMagick to parse a TIFF file as I need to extract some
information from the header section. I can get Tags like Make and Model, but
I need to get some of the others (specifically Host Computer) The
information can be extracted using ImageMagick's identify -verbose, but I
' for 'set' and 'get' inwww.imagemagic.org/script/perl-
magic.php which might be helpful.
HTH
Alan Fry
On 23 Feb 2006, at 23:17, Adam Witney wrote:
Hi,
I am using PerlMagick to parse a TIFF file as I need to extract some
information from the header section. I can get Tags like Make
Hi,
I develop my perl scripts on OSX but I need to be able to generate
executables for both OSX as well as windows. They won't need any graphical
stuff, just a double clickable file that will do its stuff.
Any ideas on what's the easiest way of doing this?
Thanks for any help
Adam
--
This
Hi,
Following up from my previous message, I am now using PAR. The problem is
when I package an executable the current working directory changes:
#! /usr/local/bin/perl -w
use strict;
use Cwd;
print \nCurrent directory = .cwd.\n;
When I run this from the command line, the result is the path
Hi, I have just downloaded Camelbones 0.2.3 and am having a stab at using
it. (on OSX 10.3.4
Firstly, I have upgraded my perl to 5.8.4, so the instructions say to build
the Camelbones frameworks. However, it tells me to edit GNUmakefile.perl,
which I can't find anywhere... Even though I did
Sorry, I jumped the gun with my question, realised I had to find the source
tarball in Developer/Source, and compile in there.
I can now build for Deployment, but not for Development (although I don't
really know the difference!)
Thanks
adam
Hi, I have just downloaded Camelbones 0.2.3 and am
Hi all,
This is probably not a mac specific perl problem, but I have a web app that
fires off a perl script which generates a temporary pdf file and then emails
it to the user. I have been using this syntax:
my $temp_pdf = /tmp/reg_form$$.pdf;
to name the temporary pdf file... Is this a safe
Hi,
I have a hash with keys of the format
sar0011_4
sar0203_3
sar0050_5
sar2001_1
sar0002_9
And I would like to generate a list ordered by the \d\d\d\d bit in the
middle. I have this from the perl cookbook
my @keys = sort {criterion()} keys(%gene_pool);
but I don't really know how to approach
Our sysadmins have decided to put a quota on the size of our email
mailboxes. They have implemented a 'function' to warn the user when he gets
close to the limit... However they have only implemented this function for
windows mail clients!
I was wondering if there was anything I could do in perl
www.SecureShopper.com
1-417-546-5593
From: Adam Witney [EMAIL PROTECTED]
Date: Thu, 10 Oct 2002 11:09:38 +0100
To: MacOS X perl [EMAIL PROTECTED]
Subject: Adding path to @INC for use with web server
Hi,
Searching the archives I have been able to find out how to get Perl to
search
Adam Witney suggests that the error depends on dlcompact. I have
installed the dlcompact (version 20020913 fixed for Jaguar) from osxgnu
site (www.osxgnu.org) but the problem persists.
I spoke to the author of dlcompact about this on the 14th september So
the version you installed above
I just installed DBD-Pg 1.13 using fink and it all seems to work fine. This
may be worth a look for you guys having trouble installing the manual way.
adam
Yes, me also. However I was unable to get it to read the password file
(.nsmbrc) and it always prompted me for a password.
Any ideas why this is so?
Thanks
adam
Rich,
This was _absolutely_ tremendously helpful. Thanks.
/Michael
#!/usr/bin/perl
if(-f /users/userid/.nsmbrc) {
On the subject of Embperl, I have been trying to install HTML-Embperl-1.3.4,
however the tests fail Any help would be greatly appreciated? (perl
5.6.0)
[mrc1-003:local/install/HTML-Embperl-1.3.4] adam% make test
PERL_DL_NONLAZY=0 /usr/local/bin/perl -Iblib/arch -Iblib/lib
21 matches
Mail list logo