From: DH <cra...@ya...> - 2002-09-23 04:40:07
|
Hi. I've compiled perl5.6.1 with the changes you made to runperl.c and miniperlmain.c and after realinzing I need a binary called hwxperl, I edited the Makefile. I was able to successfully use PerlBin. However, now I have a question, can I have permission to abstract PerlBin into the perlcompiler project? ( i have read Licence, but thought I'd give you a heads up ) And now for the small contribution. $size_mark_re = $size_mark ; $size_mark_re =~ s/([^\w=#-])/\\$1/gs ; ... if ($binlog !~ /$size_mark_re/s) { print "** The perl binary was not from HWXperl!\n $perl_bin\n" ; exit; } is better written as if( $binlog !~ /\Q$size_mark\E/s ) { ... \Q\E is basically quotemeta, see perldoc -f quotemeta, perldoc perlop Nice job guys. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com |