Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: OUTPUT Data to a table or horizontal bar chart

by hippo (Chancellor)
on May 17, 2018 at 12:46 UTC ( #1214735=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print start_html(-title  =>'Senders',
                     -bgcolor=>'#95B8DB');
    
  2. or download this
    use CGI ':standard';
    
  3. or download this
    print "Content-Type: text/html; charset=utf-8\n\n",
    
  4. or download this
    system("sudo grep -E 'Passed CLEAN.* ->.*' /var/log/maillog | grep -v 
    +root@ > /tmp/PassedCLEAN.txt");
    system("sudo awk '{print \$12}' /tmp/PassedCLEAN.txt > /tmp/PassedCLEA
    +N_1.txt");
    system('sed -e "s/<\(.*\@.*\)>/\1/g" /tmp/PassedCLEAN_1.txt > /tmp/Pas
    +sedCLEAN_2.txt');
    
  5. or download this
    for my $word (sort keys %count) {
      print "$word $count{$word}\n";
    ...
      print " \n";
    }
    close $fh;
    
  6. or download this
    print '<table><tr><th>Word</th><th>Count</th></tr>';
    for my $word (sort keys %count) {
        print "\n<tr><td>$word</td><td>$count{$word}</td></tr>";
    }
    print '</table>';
    
  7. or download this
    print '<table><tr><th>Word</th><th>Count</th></tr>';
    for my $word (sort keys %count) {
    ...
    
    }
    print '</table>';
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2021-02-26 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?