#!/usr/bin/perl -w
use strict;
use Net::SCP::Expect;
my $dir = '/home/testdata';
my @ok_files = glob "$dir/*.xml";
print join("\n",@ok_files);
I'm guessing this is an Expect.pm issue. I couldn't duplicate this with Perl 5.8, so I tried installing Perl 5.005_03. Unfortunately I get a bizarre make error after a (apparently) successful configure:
make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'. Stop.
It seems that once upon a time, I used to know what caused this. If I did, I've forgotten now and Google yields precious little.
Any ideas?
Update: rafael pointed me to a patch that worked like a charm - thanks rafael!. So, Perl 5.005_03 is installed. On to the core dump part...
Known problem probably (Score:2)
Re:Known problem probably (Score:2)
Try this patch [develooper.com] against 5.005_03. And build your perl with LC_ALL=C. HTH.
Re:Known problem probably (Score:2)
Back to the original problem (Score:2)
Ask your user to just use Expect; and see if it still dumps core. And recognize that it is almost certainly platform specific.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Back to the original problem (Score:2)
Well, I'm about ready to give up testing with 5.005_03 anyway. See my next journal entry.
Re:Back to the original problem (Score:2)
Well, I'm about ready to give up testing with 5.005_03 anyway.
Hear, hear! I'm a little bit calloused, but I'm not interested in providing support for anything other than the latest version, anyway. I know some people are stuck with older versions. The software is free, let someone else make the necessary changes to make it work and submit them or maintain them himself.
There's something to be said for the OpenSSH release model. The base OpenSSH works only with OpenBSD. The core OpenSSH developers
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers