in reply to Re^4: Alternate for "open"
in thread Alternate for "open"

The only sample you post:

$cmp=substr(reverse($line),0,1); if ($cmp eq ";") {

doesn't look like it has strict and warnings switched on. Or if it is, you're reusing $cmp which isn't necessary and recycling vars means you're probably not scoping correctly. That's why you get it as a suggestion again - because we have no evidence to the contrary.

Replies are listed 'Best First'.
Re^6: Alternate for "open"
by ravi45722 (Pilgrim) on Nov 17, 2015 at 12:51 UTC

    I updated the post as they suggested and posted my output.

      Still no code - so still can't give you an answer