in reply to Re: what does shift do?
in thread what does shift do?

So, why exactly was it needed at all in my example?

send_http_header('text/plain'); print("mod_perl rules!\n");
be identical? (guess I should try this, huh?)

It didn't work... Undefined subroutine !

P.S. the original example was the ENTIRE program, not within a subroutine, that's why I was so puzzled as to what was shifting (and why).