FAQ
Hi,

On shell, successful command returns exit status of 0.

As a best practice what status value shall a Perl function return.

Going by the fact that Perl function returns the value of last command
in it, I think function should return non-zero for a success.

Cheers,
Parag

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 12 | next ›
Discussion Overview
groupbeginners @
categoriesperl
postedJan 12, '11 at 9:24p
activeJan 13, '11 at 10:39a
posts12
users7
websiteperl.org

People

Translate

site design / logo © 2021 Grokbase