Help for this page

Select Code to Download


  1. or download this
    sub Ovid_Clear_MakePtag2{
      my $fixme = shift;           # take in our parameters
    ...
        map  { "<p>$_</p>" }       # wrap each line in <p></p> tags
        split "\r\n", $fixme;      # break apart on the newlines
    }
    
  2. or download this
    sub Abstract_Clear_MakePtag{
      my $fixme = shift;           # take in our parameters
    ...
             join("</p><p>", split "\r\n", $fixme) . 
             "</p>"  
    }