Shlomi Fish avatar Shlomi Fish committed 1b3dcd7

More trailing space elimination.

Comments (0)

Files changed (6)

 * Create a macro for a link to a CPAN distribution
-(http://search.cpan.org/dist/MyDist-Here/), a self link (with MyDist-Here as 
+(http://search.cpan.org/dist/MyDist-Here/), a self link (with MyDist-Here as
 the contents), and a perldoc?MyModule::Here link.
 
 * Put the TODO and DONE on the web-site so people will be able to view
     - print {$fh} @args instead of "print $fh @args" which is too easy to miss.
     - STDIN instead of ARGV.
     - modifying an array/hash while iterating over it.
-    - comments and identifiers in a foreign language. 
+    - comments and identifiers in a foreign language.
     - avoid using perlform - use Perl6::Form instead (also see the text
     generation page).
     - C-style for loops.
     - http://www.stonehenge.com/merlyn/UnixReview/col52.html
         - $object->new() to create a new instance.
     - Law of Demeter
-    - EEK 
+    - EEK
         - pass items from one subroutine to another.
             - use objects.
             - assign them to slots.
     if/else for statements with side-effects.
         - see http://www.nntp.perl.org/group/perl.beginners/2012/04/msg120480.html
     - nested top-level subroutines.
-        - sub outer { ... sub inner { ... } } 
+        - sub outer { ... sub inner { ... } }
         - lexical variable initialisation problem.
         - use closures instead.
     - calling too much for the shell for help.
 WML_FLAGS += -DLATEMP_THEME=better-scm -DLATEMP_SERVER=berlios
 
 LATEMP_WML_FLAGS = $(shell latemp-config --wml-flags)
-COMMON_PREPROC_FLAGS = -I $$HOME/conf/wml/Latemp/lib 
+COMMON_PREPROC_FLAGS = -I $$HOME/conf/wml/Latemp/lib
 
 WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ \
 	--passoption=3,-w $(LATEMP_WML_FLAGS) -I../ -DROOT~. \
 
 DEST_ARC_PAGE = $(TARGET)/source/index.html
 
-DOCS_COMMON_DEPS = template.wml 
+DOCS_COMMON_DEPS = template.wml
 
 all: run_compass latemp_targets perl_for_newbies_extra_data iperl_extra_data \
 	todo_done_data htaccess
 $(TODO_DONE): $(TARGET)/contribute/%.txt: %
 	cp -f $< $@
 
-# .PHONY: 
-# 
+# .PHONY:
+#
 # $(DEST_ARC_PAGE) :: $(TARGET)/% : src/%.wml $(LIBRARY_FILES) .PHONY
 # 	(cd src && wml $(WML_FLAGS) -DARCNAME=$(ARC_NAME) -DFILENAME=$(patsubst src/%.wml,%,$<) $(patsubst src/%,%,$<)) > $@
-# 
+#
 # arc: $(DEST_ARC_NAME) $(DEST_ARC_PAGE)
-# 
+#
 # $(DEST_ARC_NAME):
 # 	(cd temp && ./make-archive.sh)
 # 	mv temp/$(ARC_NAME) $@
-# 
+#
 # upload_arc: arc
 # 	$(RSYNC) $(ARC_NAME) shlomif@shell.berlios.de:
 #
 This script generates the list of directories and pages inside include.mak
 and rules.mak.
 
-This script also has to be invoked whenever new pages are added, or existing 
+This script also has to be invoked whenever new pages are added, or existing
 ones are removed or renamed.
 
 Enjoy!

docs/more-updates-2009-08-03.txt

-I thought the Perl Beginners' Site - http://perl-begin.org/ 
-was perfect after the last update, but boy I was wrong. A quick review and 
+I thought the Perl Beginners' Site - http://perl-begin.org/
+was perfect after the last update, but boy I was wrong. A quick review and
 critique of the site by a certain prominent Perl developer revealed many
-issues with it, and afterwards I had found stuff that I found lacking. So 
+issues with it, and afterwards I had found stuff that I found lacking. So
 here's what has changed.
 
 We're now mirroring the public domain "Perl for Newbies" tutorial on
 http://perl-begin.org/tutorials/perl-for-newbies/ as well as the GFDLed book
 "Impatient Perl" by Greg London ( http://www.greglondon.com/ ). Their
-presence on the site was done in order to preserve Perl-Begin's common look 
+presence on the site was done in order to preserve Perl-Begin's common look
 and feel, and to make sure people would be able to access them without
 having to go to a different site, which may be blocked by over-zealous
 web-filters. We hope to mirror other freely distributable material that
 may prove useful to beginners on Perl-Begin in the future.
 
-The "call-for-action" notice at the beginning was changed to 
+The "call-for-action" notice at the beginning was changed to
 "Learn Perl Now!" and now appears on all the pages.
 
-We also fixed several look and style glitches.   
+We also fixed several look and style glitches.
 
 There are also several corrections to the text and the hyperlinks.
 
 Stack Overflow was added to http://perl-begin.org/web-forums/ .
 
 There are now mentionings of two new topical books at
-http://perl-begin.org/books/topics/ - 
+http://perl-begin.org/books/topics/ -
 "Perl &amp; LWP" and "Programming the Perl DBI".
 
-Finally, the "About this site" page at http://perl-begin.org/about.html 
+Finally, the "About this site" page at http://perl-begin.org/about.html
 was updated and made more modern.
 
 We hope you enjoy the new site. If you like it, please recommend it to

docs/updates-to-perl-begin.txt

-After the last news item, a lot of work was invested on 
+After the last news item, a lot of work was invested on
 http://perl-begin.org/ , the Perl Beginners' Site. making
 it even better than it used to be. Here's a summary of the changes:
 </p>
 * There's a new IDEs and
 tools page:
 
-http://perl-begin.org/IDEs-and-tools/ , featuring some Integrated Development 
+http://perl-begin.org/IDEs-and-tools/ , featuring some Integrated Development
 Environments.
 
 * There's a new page sporting links to collections of blogs.
     system("compass", "compile");
 }
 
-my $generator = 
+my $generator =
     HTML::Latemp::GenMakeHelpers->new(
         'hosts' =>
         [
             },
         ],
     );
-    
+
 $generator->process_all();
 
 {
     foreach my $part_idx (1 .. 4)
     {
          # find all the .pm files in @INC
-         my @files = 
+         my @files =
             File::Find::Object::Rule
                 ->any(
                     (File::Find::Object::Rule
                     ),
                     (File::Find::Object::Rule
                         ->file()
-                        ->exec(sub { 
-                                $_[0] ne "index\.html" 
+                        ->exec(sub {
+                                $_[0] ne "index\.html"
                         })
                     ),
                 )->in("lib/tutorials/perl-for-newbies/lect${part_idx}-all-in-one/")
                 ;
-        
+
         foreach my $f (@files)
         {
             my $target = $f;
 
             # print $f, "\n";
             $target =~ s{\Alib/}{};
-           
+
             $target =~ s{/lect(\d+)-all-in-one/}{/part$1/};
-            
+
             $target = "\$(BERLIOS_DEST)/$target";
 
             push @targets, $target;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.