A
Ahmad
Hi ,
I'm newbie in Perl, and I have some Perl scripts that contains some
text processing.
In the piece of Perl code shown below:
What do the following lines mean? What are the "Fcntl" and
"GDBM_File" ? Finally, what is the usage of "tie" and "untie"
functions, and what type of arguments are passed to them below?!
use Fcntl;
use GDBM_File;
tie %datain001,GDBM_File,"IRD_db/mainarea_db", O_RDWR | O_CREAT, 0644;
.....
.....
untie %datain001;
Thanks and regards
Ahmad
I'm newbie in Perl, and I have some Perl scripts that contains some
text processing.
In the piece of Perl code shown below:
What do the following lines mean? What are the "Fcntl" and
"GDBM_File" ? Finally, what is the usage of "tie" and "untie"
functions, and what type of arguments are passed to them below?!
use Fcntl;
use GDBM_File;
tie %datain001,GDBM_File,"IRD_db/mainarea_db", O_RDWR | O_CREAT, 0644;
.....
.....
untie %datain001;
Thanks and regards
Ahmad