Emulate fgrep -f in perl

Is there any equivalent of the below requirement in perl

fgrep -f file1 file2 > file3

Why not run this shell command within a perl script?

--ahamed

Hi.

The perl version of grep at http://cpansearch.perl.org/src/CWEST/ppt-0.14/src/grep/tcgrep claims to have -F and -f modes.

See PPT: Unix Reconstruction Project for details on perl versions of *nix tools.

Best wishes ... cheers, drl