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 with it) and
installing
- check uploaded image physical pixel size
This can be done relatively easily by parsing the JFIF tags
Nobody's yet mentioned the Image::Size module?
http://search.cpan.org/~rjray/Image-Size-2.992/Size.pm
That's what I'd use before I went poking about in the bytes of a JPEG.
And, the advice
On 14/01/2006, at 9:04 PM, Leo Lapworth wrote:
You can install without this file - it's just meta data about the
package.
So do:
perl Makefile.PL
make
make test
make install
OK now I have to apologise because I wasn't quoting the whole error
message:
Warning: the following files are
I'm trying to install XMLTV, see
http://sourceforge.net/project/showfiles.php?group_id=39046
but it fails every time saying
Warning: the following files are missing in your kit:
META.yml
Please inform the author.
The interesting thing is, when I look at MANIFEST, META.yml is
I suspect the problem is the Apache config on my Mac but have
researched and
made changes but to no avail.
We're going to need more details!
Is the web server running?
Where is the script you're trying to run located?
How are you trying to get it to run in a browser, i.e. what URL are you
I was trying to do something involving renaming files the other day and
I wrote:
system(rename $originalname $newname);
and got an error. I figured out in the end I was getting confused --
perl has a rename function and if I want to do the system way, I need
mv instead.
But when I do man
On 08/01/2006, at 12:56 PM, [EMAIL PROTECTED] wrote:
That appears to be a Section 2 manpage (system call, not a command).
Commands are in Section 1. Try:
That makes a lot of sense. The stuff about #include stdio.h should
have been a clue! Thanks.
I hope you don't mind me asking a wget question. I have a feeling it
may hang on some Mac-specific issue which I'm not getting.
I'm trying to download http://www.guardian.co.uk/pda/avantgo/ for
offline reading. I'm using wget's --restrict-file-names flag to make
sure that problem characters
Those @FOO@ strings are placeholders, they shouldn't appear in
Makefile.PL. Are you certain that you're running perl Makefile.PL,
not perl Makefile.PL.in?
Absolutely sure.
if you insist on using such an old version of the
library, you'll need to fetch and install the Perl module by hand.
Can anyone explain some of the mysteries of ImageMagick scripting with
Perl?
I installed the ImageMagick package found here:
http://www.entropy.ch/software/macosx/welcome.html#imagemagick
and it says it installed OK, although I can't do mogrify -args file I
have to do
the package you installed has (correctly, IMNSHO) been configured to
use the default prefix of /usr/local. [...] edit ~/.bashrc
OK, got that part, thanks.
when troubleshooting, always look at the *first* error, not the last
one. At the beginning of these hundreds of lines, you'll find the
Thank you all for your help. I think I get it now.
Just to clear up some confusion, when I'm working in BBEDit, I have
two options to run the script:
Run -- which seems to run the script in bash.
Run In Terminal -- which runs in my chosen shell
and I also run scripts from cron, using the
Recently there was a change at work -- all http access now needs to
go through a proxy.
So if I have a script using LWP::UserAgent or similar, I have to add
$UA-proxy( ['http'] , 'http://proxy.fake.com:8080' );
to all my scripts. Which is a big pain. So a *NIX guy said you
shouldn't need
better would be a test, whether $1 is between 1-12 or 13-24 or 25-36
...
$src= $dest
files1-12 = file01_
files13-24 = file02_
files25-36 = file03_
If I understand your numbering scheme, you need something like this:
$newnumber
I want to be able to access those comments through perl. Is there a
module which already exists which does this?
Not what you asked for, but this site:
http://osx.freshmeat.net/projects/libjpeg/
has an OS X version of rdjpegcom which is a system tool for reading
JPG comments.
My main question about the change to Intel is why the developer pack,
whatever it was, costs so much? What do you get for your $999? I was
expecting something free to download to developer members.
They throw in a Pentium4 / 3.x gHz computer with the deal.
Phrase it that way and it's actually kind of cheap... :-/
Oops. I must have missed that part in the excitement! So that means
IntelMacs (MacTels? PentiuMacs?) will be out in the wild very
shortly, in that sense at least. How
Slightly off-topic I know, but ... there was discussion recently of
ways to get FTP servers to mount as volumes on OS X, but I can't find
it now -- can anyone point me at the right tool?
ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc'
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc'
Call me petty, but this problem has been around for *years*, hasn't it?
I'm constantly seeing it come up on the list.
Hasn't Apple fixed it yet? The page referred to has some kind of
reference to we spotted it
I wouldn't mind having a dedicated OS X Pod viewer -- can I download
Shux by itself without downloading a big old package of other stuff?
If so, I can't find it!
I was interested by this question -- and let me say, of course the
correct answer is, use the module -- I just took the opportunity to
try learn a bit about more advanced sorting.
The following is of course a very roundabout solution, but it shows
how you can sort by an arbitrary quality you
Apache was too busy dealing with web requests, and could not process
cgi
requests until traffic subsided. Perhaps Perl/cgi requests are lower
priority?
I think it's more complex than that, but serving simple html files
takes less time, requires less memory, can more easily be cached and so
on.
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.
by the module. Does its clean function
transform a string in place? It doesn't seem to. Where are the
options? Is it perhaps confused about where tidy is on my system
(/opt/local/bin/tidy) ?
Have You Validated Your Code?
John
Short answer: show us the whole script, and tell us about the file
history.txt.
The most likely explanation for why do something for each line of file
x would do nothing is that there are no lines in file x, right? That
is, it will do something three times for a three-line file, and zero
Just wanted to follow up on this: I installed the December 2002
Developer Tools and the August 2003 copy of gcc and everything is
fine. I got darwinports to install Perl (5.8.5) for me and everything
seems fine.
Couple of supplementary questions:
1) I presume that my 10.2 box is now pretty
/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-934.3, based on gcc version 2.95.2
19991024 (release)
TIA
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior
http://validator.w3.org/source/
Instructions for that one are only a couple clicks away:
http://www.mediaville.net/articles/validator/
Thank you. I had no idea. Checking it out now.
It's possible to install these tools on LINUX using PPM
I think you're confused - Linux is not an ancronym, and
the results to another file -- how
hard would it be to hook in to that with a CGI script?
On Nov 11, 2004, at 7:06 PM, John Horner wrote:
I would like to be able to install a browser-based HTML validator on
my OSX web server
On 13/11/2004, at 5:48 AM, Sherm Pendley wrote:
If BBEdit can be driven via AppleScript, you should also be able to
use Mac::Glue to drive it. Or, you could run your AppleScript with the
osascript tool.
That got me on the right track -- to the extent that this is already
working:
I would like to be able to install a browser-based HTML validator on
my OSX web server, like the W3C:
http://validator.w3.org/source/
or WDG:
http://www.htmlhelp.com/tools/validator/source.html
validators.
It's possible to install these tools on LINUX using PPM but being
able to hack
The problem is now fixed, thanks for your patience.
In case anyone needs to know, the problem is with the ftpd daemon;
for some reason after the upgrade its default umask was 002 when
previously it was 022.
The solution is to create, if it doesn't exist, a file at
/etc/ftpd.conf containing the
without any arguments tell you? Something like 037 or 015?
It just says 2.
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
the GUI?
And finally, if anyone's really annoyed by this being OT, where
should I go to ask for this kind of help in future?
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior
::Sendmail which is working just fine.
Thanks again.
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
/html\n\n;
print ran with no problems?;
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
Multi-file regular expression find replace functionality, with
nameable saveable expressions
That's the killer-app feature for me. I could actually say that I
think it's BBEdit that gave me my first glimpse of the power of Perl.
I use BBEdit literally every day for both HTML and Perl. It's got
Just for the record, I've upgraded from 10.1 to 10.2 without any
major problems, but what I wish I'd thought of, as it's primarily
used as a webserver, is backing up httpd.conf -- I'm going to have to
go in and tweak that to suit my preferred settings all over again,
as, while Perl is working
with the Apache
install, but to httpd.conf.applesaved.
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
I'm having puzzling errors with a calendar application written in PHP.
Now I know this isn't the place to ask about PHP, but the thing is,
the app is running on an old Mac G3 which I use as an intranet
server, and it's still on OS X 10.1 -- so the first thing I was going
to do was upgrade it to
and documents on
another and so on? Any issues around the installation of Perl and
other things like C libraries that I should be thinking about?
Have You Validated Your Code?
John Horner(+612 / 02
so I'm pretty much stuck on Page One.
Any help gratefully received.
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
cvs -d :pserver:[EMAIL PROTECTED]:/Volumes/src/cvs/od login
but I get asked for a password. There's no mention of this, and no password I
Thanks to everyone who pointed out that I could just hit return
instead of entering a password for the darwinports CVS command.
I'm rather red-faced over it
I was very impressed by Pashua, which allowed me to add an OS X
interface to a Perl script. But I still have to call the script from
the command line.
Are there ways to create double-clickable or droplet-style
applications in OS X, the way I used to in MacPerl on 9?
There was some mention
and make everything work but
apparently not...
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
This may be a frequently-asked question, but I've got installed
modules which CPAN says are up to date but Perl can't find.
@INC contains:
/System/Library/Perl/5.8.1/darwin-thread-multi-2level
/System/Library/Perl/5.8.1
/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1
have a Developer Tools
CD.
Maybe they're assuming anyone who wants it will sign up and download
it? Or have I missed something?
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Thanks everyone,
I guess I should have figured that HDs are so huge these days,
putting a few hundred megs of optional content is actually easier
than putting it on a CD.
jh
the
command-line CPAN tool tells me
[modulename] is up to date
but a script will say it can't find it.
I realise this is a lot to ask in one go...
Have You Validated Your Code?
John Horner
(can't test right
now). Appreciate your help.
Have You Validated Your Code?
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
I'm a little reluctant to even ask, because I'm sure these questions
get asked very often here, but I have a problem with installing a
module, HTML::Parser.
I have Panther, I have Dev Tools, Perl 5.8.0, I tried using CPAN and
manually, and it fails every time.
I won't post the whole thing but
I'll let you know: but I started to feel guilty,
so I may have deleted it.
--
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://abc.net.au/
versions they are, just as long as I can
get the Perl modules installed.
Can someone help me/point me to pages online/get me started?
jh
--
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online
?
--
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://abc.net.au/
this for perl is just perl -v.
--
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://abc.net.au/
suggestions?
jh
--
John Horner(+612 / 02) 9333 2110
Senior Developer, ABC Online http://abc.net.au/
56 matches
Mail list logo