Re: MARC/Perl on a Windows PC--need some handholding....
| Newsgroups | perl.perl4lib |
|---|---|
| Message-ID | <1631437341.25960.1340115889133.JavaMail.mail@webmail16> |
There are some modules that are designed for *nix systems and getting them to work on Windows can be a challenge.
Fortunately MARC isn't one of them. If you are using ActiveState here's how to install the modules you need:
Open a command prompt and type "ppm-shell"
Type "search marc-record"
Type "install 1"
This should install all the modules you need. To test, run this program:
use strict;
use MARC::Batch;
my $batch = new MARC::Batch ('USMARC', 'records.marc');
my $record = $batch->next;
while ($record) {
print $record->field('245')->subfield('a'), "\n";
$record = $batch->next;
}
On other perls, including strawberry, open a command prompt and type:
perl -MCPAN -e "install MARC::Record"
Good luck.
On Jun 18, 2012, charles hobbs <[email protected]> wrote:
Greetings all.
Has anyone had much experience/luck running the current MARC/Perl on a PC using Perl (Active State, Strawberry, etc.)
Whenever I try to get it to work, it gives me error messages (it can't find the modules, etc.) I'm not even sure I'm putting the modules in the right directory.
The makefiles are of little help, as they are designed for Unix (at least on the newest version of MARC/Perl)
Again, anyone ever make MARC/Perl work in a Windows environment?
Thanks in advance!
===
Charles P. Hobbs
[email protected]
http://www.morethanredcars.com