- or download this
use HTTP::Request;
- or download this
BEGIN {
use HTTP::Request;
$HTTP::Headers::TRANSLATE_UNDERSCORE = 0;
}
- or download this
#!/usr/bin/env perl -l
...
my $header = $r->header('__X_Y__', 1);
dd $r;
- or download this
bless({
_content => "",
...
_method => undef,
_uri => undef,
}, "HTTP::Request")
- or download this
bless({
_content => "",
...
_method => undef,
_uri => undef,
}, "HTTP::Request")
- or download this
...
# The $TRANSLATE_UNDERSCORE variable controls whether '_' can be used
...
...
$field =~ tr/_/-/ if $TRANSLATE_UNDERSCORE;
...