start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 10.7 CGI.pm Reference Chapter 10
The CGI.pm Module
Next: Reference: append
 

accept

 $

query


->accept(['

content_type

'])

Returns a list of media types that the browser accepts.

content_type

If specified, returns instead the browser's preference for the specified content type, between 0.0 and 1.0.


Previous: 10.7 CGI.pm Reference Perl in a Nutshell Next: Reference: append
10.7 CGI.pm Reference Book Index Reference: append