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

Re: perl sucks

by Dietz (Curate)
on Sep 27, 2006 at 06:02 UTC ( #575087=note: print w/replies, xml ) Need Help??


in reply to perl sucks

package ACME::WeightWatchers; use Carp; require Exporter; our @ISA = qw(Exporter); our @EXPORT = 'watchsize'; sub watchsize { local $/ = "\n"; my $caller = caller; open _, "$caller::$0"; while (<_>) { $. == 40 and confess "no more Perl for me, unless less than 40 lines\n"; } }

#!/usr/bin/perl use strict; use warnings; use ACME::WeightWatchers; watchsize(); # your code here ... print "I made it under 40!\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://575087]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-06-23 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?