[Perl-unix-users] how to check remote path

2004-03-22 Thread Hong Wang
I like to check path remotely. How to do it? For example, the remote path would be: $path = "http://www.haverford.edu/acc"; I like to check the change for all directories under that path. How can I open that path? Thanks in advance! Hong ___ Perl-

[Perl-unix-users] perl4 version installation

2004-01-27 Thread Hong Wang
I am working on MOMspider which requires perl 4 version. When I install perl4 on solaris2.6 and run make test, I get the 4 test failed as the followings. If any of you has clue about perl4 version , please give me advise. Thanks in advance. # make test comp/package...FAILED on test 0 op/dbm..

[Perl-unix-users] match function

2003-08-04 Thread Hong Wang
I like to check if file with .doc extension will be excluded. for example, if file name is todo.doc: How can I use match function? What I did is not working. What I tried: if($file !~ /\.doc/) { do something } or if($file !~ /.doc/) Thanks in advance! Hong

Re: [Perl-unix-users] how to convert a text file to db file?

2003-07-24 Thread Hong Wang
Thanks very much. Everything starts to work after converting. Hong At 08:56 AM 7/24/2003 -0700, $Bill Luebkert wrote: Hong Wang wrote: > Thanks very much. But I am not clear about this line: > > tie %hash, 'GDBM_File', $filename, &GDBM_WRCREAT, 0640); > > > $fi

Re: [Perl-unix-users] how to convert a text file to db file?

2003-07-24 Thread Hong Wang
Thanks very much. But I am not clear about this line: tie %hash, 'GDBM_File', $filename, &GDBM_WRCREAT, 0640); $filename is the text file read or is the db file name will be written to? Hong At 10:55 PM 7/23/2003 -0700, $Bill Luebkert wrote: Hong Wang wrote: > We like to

[Perl-unix-users] how to convert a text file to db file?

2003-07-23 Thread Hong Wang
We like to convert db files between liux platform and solaris platform. for example, on solaris, we read the db file and print it to a text file. Then convert the text file to db file on Linux platform. Read db file and print it to a text file, it is ok. But how to convert the text file to a db

[Perl-unix-users] GDBM_File in perl5.8

2003-02-25 Thread Hong Wang
I am not sure I subscribed right mailing list. Anyway, I have a problem to build GDBM_File.pm in perl5.8 on solaris. Based on the INSTALL file, to build the GDBM_FILE: sh Configure -de \ -Dlocincpth="/usr/you/include" \ -Dloclibpth="/usr/you/lib" /usr/you/include a

[Perl-unix-users] (no subject)

2001-12-07 Thread Hong Wang
/sortok op/split...ok op/sprintf.ok op/statok op/study...ok op/substr..ok op/timeok op/undef...ok op/unshift.ok op/vec.ok op/write...ok lib/bigok Failed 1 test. make: [test] Error 29 (ignored) Thanks for help! Hong Wang [