Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^6: File name issue in Archive::Zip

by Lotus1 (Chaplain)
on Oct 26, 2011 at 16:58 UTC ( #933939=note: print w/ replies, xml ) Need Help??


in reply to Re^5: File name issue in Archive::Zip
in thread File name issue in Archive::Zip

http://cpansearch.perl.org/src/ADAMK/Archive-Zip-1.31_03/README

Archive::Zip Global Variables $Archive::Zip::UNICODE This variable governs how Unicode file and directory names are + added to or extracted from an archive. If set, file and directory na +mes are considered to be UTF-8 encoded. This is *EXPERIMENTAL AND +BUGGY (there are some edge cases on Win32)*. Please report problems. { local $Archive::Zip::UNICODE = 1; $zip->addFile('Déjà vu.txt'); }

It looks like the version CPAN will install is 1.30. If the OP wants to install 1.31_03 will he need to download and use Perl makefile.pl, dmake, dmake test, dmake install? Maybe someone who knows more about cpan knows a way to get the latest by using the cpan prompt.

Update: I found out how to install a different version of a cpan module than the one cpan defaults to.

From the command prompt type 'cpan' and hit enter. Then from the cpan> prompt type 'install A/AD/ADAMK/Archive-Zip-1.31_03.tar.gz'.

This should install the file located at http://cpan.perl.org/authors/id/A/AD/ADAMK/Archive-Zip-1.31_03.tar.gz.


Comment on Re^6: File name issue in Archive::Zip
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://933939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-28 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls