Help for this page

Select Code to Download


  1. or download this
        body:
            +all_pages
    ...
    
        all_pages:
            s/::PAGENUM::/$page_number/eg;
    
  2. or download this
        my $page_engine = make_regex_engine_from_spec( $spec_fh );
        my $page_number = 1;
    ...
            print $page_engine->( @$page{'content','page_type'} ), "\n";
            $page_number++;
        }
    
  3. or download this
        sub make_regex_engine_from_spec
        {
    ...
            }
        }
    
  4. or download this
    my @book_pages = (
    
    ...
       { page_type => 'index', 
         content   => "This an index page (::PAGENUM::).\n" },
    );
    
  5. or download this
        This is the copyright page (i).
        Copyright 2004 blah, blah
    ...
    
        This an index page (3).
    
  6. or download this
    #!/usr/bin/perl
    
    ...
    
    all_pages:
        s/::PAGENUM::/$page_number/eg;