[Perl] Offer's riddle

Mikhael Goikhman migo at homemail.com
Mon Oct 7 03:52:29 PDT 2002


On 07 Oct 2002 11:35:32 +0200, Shlomo Yona wrote:
> 
> The solution sent yesterday by Mikhael does not solve the problem as
> Offer formulized it.
> 
> For example, what if the input file has an odd number of lines?
> The oneliner will hang... waiting for input.

Please describe the example that hands for you. It should never hang.
Did you prepare file "a" as the riddle says and redirected from it?

Regards,
Mikhael.



More information about the Perl mailing list