Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Correction to Database problem

by jasonk (Parson)
on Feb 15, 2003 at 15:25 UTC ( [id://235568]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub father_of {
        my $find = shift;
    ...
    print "The son is $son\n";
    print "The father of $son is $father\n";
    print "The father of $father is $grandfather\n";
    
  2. or download this
    open(DAT,$data_file) || die "Couldn't open file":
    foreach(<DAT>) {
    ...
    my $son = 1045316419;
    my $father = $fathers{$son};
    my $grandfather = $fathers{$father};
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://235568]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-26 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found