Name

code

Synopsis

$resp ->code ([code])

Description

When invoked without any parameters, this method returns the object’s response code. Sets the status code of the object when invoked with an argument.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.