in reply to Re: CGI as an Inline Path
in thread CGI as an Inline Path

You'll find that $ENV{'PATH_INFO'} holds what you're looking for.

And %ENV has more interesting information, so dumping it is not a bad idea:

#!/usr/bin/perl -w use Data::Dumper; print "\n"; # The shortest CGI header possible, # the server will assume text/plain. print Dumper \%ENV;
Or, without Data::Dumper:
#!/usr/bin/perl -w print map "\n$_ => $ENV{$_}", keys %ENV;

U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk