Just get rid of prototypes altogether:
sub debug;
debug "Here I am! And the value of foo is $foo";
debug "I am in subroutine foo", 3;
sub debug {
# body of debug
}
More Related Contents:
- If condition based look up not working [closed]
- Convert Bash script to Perl/VBS/any other windows compatible language [closed]
- Redirecting the perl script
- How can I troubleshoot my Perl CGI script?
- How is Perl’s @INC constructed? (aka What are all the ways of affecting where Perl modules are searched for?)
- How can I install Perl modules without root privileges?
- Specifying file to process to Perl one-liner
- How do I compare two strings in Perl?
- What is the difference between ‘my’ and ‘our’ in Perl?
- Difference between &function and function() in perl [duplicate]
- Perl flags -pe, -pi, -p, -w, -d, -i, -t?
- How do you round a floating point number in Perl?
- Why do I have to specify the -i switch with a backup extension when using ActivePerl?
- How can I run Perl system commands in the background?
- Why is this program valid? I was trying to create a syntax error
- Find size of an array in Perl
- Perl build, unit testing, code coverage: A complete working example
- What does the -> arrow do in Perl?
- What’s the difference between iterating over a file with foreach or while in Perl?
- What’s the differences between system and backticks and pipes in Perl?
- How to ignore ‘Certificate Verify Failed’ error in perl?
- How do I make Perl scripts recognize command-line parameters in the Win32 cmd console?
- How can I get a call stack listing in Perl?
- How can I find the version of an installed Perl module?
- How can I escape an arbitrary string for use as a command line argument in Bash?
- What does “select((select(s),$|=1)[0])” do in Perl?
- Nested subroutines and Scoping in Perl
- Why doesn’t print output anything on each iteration of a loop when I use sleep?
- Why do hash keys have different order when printing?
- How can I manually interpolate string escapes in a Perl string?