Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://474345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-26 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found