X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.hpux;h=e12c60d352e482e58f04774912d7087e0861f1a4;hb=93d6612c1a533e775e2884e98da42e418edd3a83;hp=5fbddf759e761b6f81b0231a6d0fb0ab661e1b5f;hpb=94f13a8fe911b4e5d658c1e8bb515599305c074c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.hpux b/README.hpux index 5fbddf7..e12c60d 100644 --- a/README.hpux +++ b/README.hpux @@ -124,7 +124,7 @@ If these dependent libraries are not listed at shared library creation time, you will get fatal "Unresolved symbol" errors at run time when the library is loaded. -You may create a shared library that referers to another library, which +You may create a shared library that refers to another library, which may be either an archive library or a shared library. If this second library is a shared library, this is called a "dependent library". The dependent library's name is recorded in the main shared library, but it @@ -241,6 +241,25 @@ If you are compiling Perl on a remotely-mounted NFS filesystem, the test io/fs.t may fail on test #18. This appears to be a bug in HP-UX and no fix is currently available. +=head2 perl -P and // + +In HP-UX perl is compiled with flags that will cause problems if the +-P flag of Perl (preprocess Perl code with the C preprocessor before +perl sees it) is used. The problem is that C, being a C++-style +until-end-of-line comment, will disappear along with the remainder +of the line. This means that common Perl constructs like + + s/foo//; + +will turn into illegal code + + s/foo + +The workaround is to use some other quoting characters than /, +like for example ! + + s!foo!!; + =head1 AUTHOR Jeff Okamoto