Changeset 7501
- Timestamp:
- 08/23/09 23:50:25 (2 years ago)
- File:
-
- 1 edited
-
trunk/tools/update_perlopref.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/update_perlopref.pl
r7495 r7501 13 13 } 14 14 15 print $res->content; 15 require File::Spec; 16 my $file = File::Spec->catfile('lib', 'Padre', 'HelpProvider', 'perlopref.pod'); 17 if(-f $file) { 18 print "Replacing perlopref.pod...\n"; 19 open FILE, '>', $file or die "Could not open $file for writing\n"; 20 print FILE $res->content; 21 close FILE; 22 } else { 23 print "Could not find $file\n"; 24 } 16 25 17 26 __END__ … … 19 28 =head1 NAME 20 29 21 update_perlopref.pl - A script to download the latest copy ofperlopref.pod from github30 update_perlopref.pl - update perlopref.pod from github 22 31 23 32 =head1 DESCRIPTION 24 33 25 This is a simple script to load perlopref.pod from github and write it in its 26 proper Padre folder 34 FYI, perlopref is Perl Operator Reference. 35 36 This is a simple script to obtain the latest perlopref.pod 37 from github and write it in its proper Padre folder 27 38 28 39 =head1 AUTHOR
Note: See TracChangeset
for help on using the changeset viewer.
