Thought I'd share something funny with ye fellow monks...
$ ./server.pl 3000 given is experimental at ./server.pl line 86. when is experimental at ./server.pl line 87. when is experimental at ./server.pl line 88. Bareword "shit" not allowed while "strict subs" in use at ./server.pl line 46. Execution of ./server.pl aborted due to compilation errors.
The culprit:
sub process_get { my $client = shit; my $url = shift; my $data = shift;
Come to think of it, this should actually be pretty common but it's the first time that's ever happened to me in about 20 years of Perl hacking!
Good thing I use strict and warnings in all my code ;-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: One of those odd compiler messages...
by Laurent_R (Canon) on Aug 30, 2018 at 17:59 UTC | |
by eyepopslikeamosquito (Archbishop) on Aug 30, 2018 at 22:09 UTC | |
by choroba (Cardinal) on Aug 30, 2018 at 23:34 UTC | |
Re: One of those odd compiler messages...
by stevieb (Canon) on Aug 30, 2018 at 03:25 UTC | |
Re: One of those odd compiler messages...
by Anonymous Monk on Aug 30, 2018 at 04:36 UTC |
Back to
Meditations