Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How to get the output from make test into a text file? (HTML-Element-Library)

by tphyahoo (Vicar)
on Jul 12, 2005 at 17:41 UTC ( #474345=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #snip of highlander.t
      my $generated_html = ptree($tree, "$root.gen");
      is ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for 
    +$age");
    
  2. or download this
      my $generated_html = ptree($tree, "$root.gen");
      my $file = File::Slurp::read_file("$root.exp");
      $file =~ s/\x0d+\x0a/
    /g;
      is ($generated_html, $file, "HTML for $age");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2020-07-12 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?