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

Linear programming is bad

by Ovid (Cardinal)
on Mar 24, 2002 at 22:22 UTC ( #153951=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
        #!/usr/bin/perl -w
        use strict;
            print OUT_FILE "$dept,$deptTotals{ $dept }\n";
        close OUT_FILE;
  2. or download this
        #!/usr/bin/perl -w
        use strict;
            close OUT_FILE;
  3. or download this
        my $expenses   = get_expense_data( EXPENSE_FILE );
        my $deptTotals = sum_expenses_by_department( $expenses, FIELDS_PER
    +_RECORD );
        write_report( $deptTotals, EXPENSE_REPORT, REPORT_HEADER );
  4. or download this
        use constant EXPENSE_FILE      => 'expense.dat';
        use constant EXPENSE_REPORT    => 'final_expense.txt';
        my $deptTotals = sum_expenses_by_department($expenses, FIELDS_PER_
        write_report( $deptTotals, EXPENSE_REPORT, REPORT_HEADER );
        write_report( $large_expenses, ERROR_REPORT, ERROR_HEADER );

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://153951]
Approved by root
[stevieb]: It seems as though some Strawberry Perl downloads have incorrect checksums all of a sudden. Could someone please download http://strawberryp .12.3.0/strawberry -perl- and do an sha1sum on...
[stevieb]: I'm getting 309ad7a9ba74614fcd 0c65bff7ea4400c10f a92f, but the http://strawberryp html states 0e267fc2cf5a16126d a6f9520cc7664db63d 2b57 and want to ensure it's not just me
[stevieb]: ...or the proper download link and release page even...
[pryrt]: da39a3ee5e6b4b0d32 55bfef95601890afd8 0709 *strawberry-perl-5 .12.3.0-portable. zip
[pryrt]: matches neither. :-)
[stevieb]: wtf!? lol
[stevieb]: I'm checking some other versions. This is a little frightening

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-03-29 20:58 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (353 votes). Check out past polls.