logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

perltrap: Shell traps page might be updated: msg#00021

Subject: perltrap: Shell traps page might be updated
Sorry, for reposting - not sure that this message is on the list since
I posted it via Google services previously which might be not
correct...

I don't know if it's a right place to post my message but anyway...

I guess perltrap doc page should be updated regarding perl vs. shell
bevavior differences. Today I ran into problem with my shell script
when I tried to compare strings with -eq operator. Oops, I was quite
surprises to learn that it's for numbers! And == operator is for
strings... Quite the contrary, in Perl we use == to treat vars as
numbers and eq - for strings.



<Prev in Thread] Current Thread [Next in Thread>