Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

How can one initialize the scalar $reg_no in hash element?

by supriyoch_2008 (Monk)
on Apr 02, 2013 at 16:29 UTC ( [id://1026734]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Name   Age  Regn No.
     A     50    r1
     B     40    r2  
     C     30    r3
    
  2. or download this
    #!/usr/bin/perl 
    use warnings;   
    ################################################
    ...
            print "    Age: " . $studentsDB{$id}{Age} . "\n";  } } 
         } } until ($entry==3); 
    exit;
    
  3. or download this
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\x>cd desktop
    ...
    Use of uninitialized value $reg_no in hash element at C:\Users\x\Deskt
    +op\d2.pl line 52, <STDIN> line 17.
    
     Enter the Regn Number for detailed information:
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found