Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Should I leave behind beautiful code or readable code?

by wfsp (Abbot)
on Apr 01, 2007 at 09:44 UTC ( #607689=note: print w/replies, xml ) Need Help??

in reply to Should I leave behind beautiful code or readable code?

It's no good, I can't resist.

Why doesn't anyones code look like mine?

sub MySub { ...some stuff... #print scalar @somearray; my @jiggered = map{uc $_} @somearray; #print Dumper \@jiggered; my %hash = map {split(/ /, $_, 2)}, @jiggered; #print Dumper \%hash; #{ # my $file = 'tmp/hash_dump.txt' # # open my $fh, '>', $file # or die "can't open $file to write: $!"; # print $fh Dumper \%hash; #} #email_home('hey, we got to here!'); return %hash; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://607689]
[marto]: which part don't you know how to do?
[marto]: oh
[Corion]: arunks: Maybe How do I make password prompts not echo back the user?? Or simply read it from STDIN.
[Corion]: arunks: Please do not ask us to write your program. You have to write your program yourself.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2017-01-20 14:27 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.