Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

redmist's scratchpad

by redmist (Deacon)
on Jun 02, 2004 at 02:37 UTC ( #359062=scratchpad: print w/replies, xml ) Need Help??

#!/usr/bin/perl -w use strict; use lib '/var/www/www.tornpants.com/csa/MLDBM-2.00/lib'; use MLDBM; use Fcntl; use Data::Dumper; my %db; tie %db, 'MLDBM', 'content.db', O_CREAT|O_RDWR, 0640 or die; # do things my $tmp = $db{username}; print "Enter default username: "; my $username = <STDIN>; chomp $username; $tmp->[0] = $username; $db{username} = $tmp; print "\nEnter default password: "; $tmp = $db{password}; my $pw = <STDIN>; chomp $pw; $tmp->[0] = $pw; $db{password} = $tmp; print "\nYour username/password is: "; print $db{"username"}; untie %db or die "Can\'t untie database.\n";
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[LanX]: he just read an article that the production of one battery for an e-car causes the same amount of CO2 emission like a conventional car in 200000 km
[LanX]: oO
[SuicideJunkie]: That's a dumb comparison. If you want to compare equivalent things, you should ask about battery+motors vs fuel tank+engine+ transmission.
[pryrt]: Are you sure?

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-08-22 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (339 votes). Check out past polls.

    Notices?