in reply to Re: What is wrong in this code?
in thread What is wrong in this code?

Yeah, thing is that the file can contain both, so what can I do in this case?
(but not use Perl modules which is the obvious solution)

Replies are listed 'Best First'.
Re^3: What is wrong in this code?
by toolic (Bishop) on Feb 13, 2014 at 15:12 UTC
    but not use Perl modules
    List::Util is a Core module, so there is no need to install it.