File: r_inherited.pl

package info (click to toggle)
libapache2-mod-perl2 2.0.4-7%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 9,896 kB
  • ctags: 3,820
  • sloc: perl: 56,663; ansic: 14,001; makefile: 93; sh: 38
file content (12 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;

# this script shouldn't work

# this is to test that $r is not in the scope from the function that
# has compiled this script in the registry module

# my $r = shift;

$r->content_type('text/plain');
$r->print($r->args);