Hey All,
So I just recently downloaded Regex-PreSuf.
I believe it downloaded correctly, and also install correctly (did the following):
> downloaded it
> gzipped
> tar'ed
> perl Makefile.PL
> make
> make test
> make install
This is the file listing after the make install completed:
Code:
drwxr-xr-x 8 user users 4096 Jul 18 10:29 blib
-rwxr-xr-x 1 user users 4684 Feb 26 2006 ChangeLog
-rwxr-xr-x 1 user users 23071 Jul 18 10:29 Makefile
-rwxr-xr-x 1 user users 187 Jul 21 1998 Makefile.PL
-rwxr-xr-x 1 user users 170 Feb 26 2006 MANIFEST
-rwxr-xr-x 1 user users 298 Feb 26 2006 META.yml
-rwxr-xr-x 1 user users 0 Jul 18 10:29 pm_to_blib
-rwxr-xr-x 1 user users 7916 Feb 26 2006 PreSuf.pm
-rwxr-xr-x 1 user users 514 May 11 2000 README
drwx--x--x 2 user users 4096 Feb 26 2006 t
The output from the make, and make install gave the All OK, but there is no documentation with it that shows how to use it?
Does anyone know what you have to do to use it? From what I read, it is used to enter a string and it gives you the regex that matches that string exactly?
This is what I tried, from within the directory and its the output:
Code:
~/Downloads/Regex-PreSuf/Regex-PreSuf-1.17> ./PreSuf.pm Hello World
./PreSuf.pm: line 1: package: command not found
./PreSuf.pm: line 3: use: command not found
./PreSuf.pm: line 4: local: can only be used in a function
./PreSuf.pm: line 5: syntax error near unexpected token `('
./PreSuf.pm: line 5: `use vars qw($VERSION $DEBUG);'
Thanks in advance,
Matt