Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: How do I love thee? Let me iterate the ways

by zakzebrowski (Curate)
on Sep 07, 2004 at 12:16 UTC ( #389000=note: print w/replies, xml ) Need Help??

in reply to How do I love thee? Let me iterate the ways

What about...
print "How do I love thee? "; &let_me_count_the_ways; sub let_me_count_the_ways{ open (WAYS,"<reasons.txt"); my @of_my_ways = <WAYS>; my $count=0; foreach (@of_my_ways){ $count++; print "$count, $_\n"; } close WAYS; print "$count ways I love thee.\n"; }

PS. First poem post...

Zak - the office

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://389000]
[holli]: but is this really a problem 1nickt? Nobody knows how your human taxi drivers brain works either
[holli]: at least for cars, if the ai works better than a human on average, by all means let the machines drive

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-11-21 13:12 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (301 votes). Check out past polls.