Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How to read file into hash array ?
How to read file into hash array ?
✍: Guest
open(IN, "<name_file")
or die "Couldn't open file for processing: $!";
while (<IN>) {
chomp;
$hash_table{$_} = 0;
}
close IN;
print "$_ = $hash_table{$_}\n" foreach keys %hash_table;
2013-09-10, 2827👍, 0💬
Popular Posts:
How many types of validation controls are provided by ASP.NET ? There are six main types of validati...
How To Avoid the Undefined Index Error? - PHP Script Tips - Processing Web Forms If you don't want y...
What will be printed as the result of the operation below: #define swap(a,b) a=a+b;b=a-b;a=a-b; void...
Is XHTML Element Name Case Sensitive? - XHTML Tutorials - Introduction To Tag and Attribute Syntax Y...
How to make elements invisible? Change the "visibility" attribute of the style object associated wit...