You will need to use the open keyword to open the file, the while loop
to loop through the file and the RegEx matching patternt to search for
the word.
Documentation on all that exists at http://perldoc.perl.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On 10/14/07, Vidhi <[EMAIL PROTECTED]> wrote:
> hi
> I am in a bad situation to finish my assignment.I am very new to perl,
> started to explore to complete my assignment.
>
> I need to open a gdbm file and search for a word in it.
> how can i write it.
> plse help!
take a look at
perldoc -f dbmo
On 10/14/07, Vidhi <[EMAIL PROTECTED]> wrote:
> I need to open a gdbm file and search for a word in it.
You can use the tie() function to connect a hash to the GDBM file,
more or less like this:
use GDBM_File;
tie my %DATA, "GDBM_File", $filename, &GDBM_READER, 0;
Then you can examine the h
hi
I am in a bad situation to finish my assignment.I am very new to perl,
started to explore to complete my assignment.
I need to open a gdbm file and search for a word in it.
how can i write it.
plse help!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO