commit for archiving
This commit is contained in:
16
Perl/bin/ap-user-guide
Normal file
16
Perl/bin/ap-user-guide
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
# This script will open up the ActivePerl User Guide in your
|
||||
# web browser.
|
||||
|
||||
use strict;
|
||||
use Config qw(%Config);
|
||||
|
||||
my $htmldir = $Config{installhtmldir} || "$Config{prefix}/html";
|
||||
my $index = "$htmldir/index.html";
|
||||
|
||||
die "No HTML docs installed at $htmldir\n"
|
||||
unless -f $index;
|
||||
|
||||
require ActiveState::Browser;
|
||||
ActiveState::Browser::open($index);
|
||||
Reference in New Issue
Block a user