File: README.Win32

package info (click to toggle)
image-size 2.930-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 184 kB
  • ctags: 13
  • sloc: perl: 308; makefile: 36
file content (35 lines) | stat: -rw-r--r-- 1,284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
SPECIAL NOTE TO WINDOWS NT/95/98 USERS

Some earlier versions of Perl built for these platforms lack the MakeMaker
support needed to create a Makefile from the Makefile.PL provided. Use of
the Image::Size module without this is fairly simple, and one of the most
frequently-asked questions I receive.

To use this module without engaging MakeMaker and the make (nmake, dmake)
utility, follow these steps:

1.	Edit the file Size.pm with your preferred plain text editor.

2.	Find the line that reads "use AutoLoader;" and delete it.

3.	Next, find the line that reads "__END__" and delete it.

4.	In order for Perl to locate the module when you reference it in
	your scripts, you will need to create a sub-directory "Image" in
	one of base library paths for your Perl installation.

5.	Once created, copy the file "Size.pm" into that directory.

6.	If you wish to also use the "imgsize" command-line script, you
	should be able to extract it with the command:

		perl imgsize.PL
	
	Then you should copy it to a directory in your execution path.

Taking this approach loses the benefits of the AutoLoader/AutoSplitter
facility, namely the on-demand loading of the individual routines used to
process the various image formats. Instead, all code is loaded and compiled
initially.

Randy