Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Extraction problem with Template::Extract

by jfroebe (Parson)
on Apr 03, 2006 at 18:21 UTC ( [id://540994]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    use Data::Dumper;
    print Dumper($data);
    print $template;
    
  2. or download this
    $VAR1 = {
              'records' => [
    ...
    [% ... %]
     OAMPG: [% oampg %]   Extent ID [% extent_id %] on allocation page [% 
    +alloc_pg %]
    [% END %]
    
  3. or download this
    $template = <<EOD;
    [% FOR records %]
    ...
    EOD
    
    $doc =~ s/\n/;\n/mg;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://540994]
Approved by Corion
Front-paged by gaal
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found