>> @creds = grep {/./} $fh;
>
>Try:
>
> @creds = grep {/./} <$fh>;
>
>--
>Gunnar Hjalmarsson
>Email: http://www.gunnar.cc/cgi-bin/contact.pl
ah!! i was so used to that /not/ being the case with a normal
filehandle that i didn't think to use it with a reference....
*laugh*
thank you :) i'm going to go play with Benchmark and see what that
gives me....
willy
http://www.hackswell.com/corenth
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
- pass a filehandle then use it in grep{}? West, William M
- Re: pass a filehandle then use it in grep{}? Gunnar Hjalmarsson
- Re: pass a filehandle then use it in grep{}? West, William M
- Re: pass a filehandle then use it in grep{}? Gunnar Hjalmarsson
- RE: pass a filehandle then use it in grep{}? West, William M
- Re: pass a filehandle then use it in grep{}? Gunnar Hjalmarsson
- Re: pass a filehandle then use it in grep{}? John W. Krahn
- RE: pass a filehandle then use it in grep{}? West, William M
- Re: pass a filehandle then use it in grep{}? Gunnar Hjalmarsson
- Re: pass a filehandle then use it in grep{}? John W. Krahn
