.. |
A closure is an anonymous subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
A nested subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
A recursive subroutine to perform arithmetic.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
A subroutine is defined by the sub keyword and the block of code that follows.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
A subroutine that returns a scalar or a list.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
A subroutine that returns a value.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Accessing variables in subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Adding two arrays in a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Ading two arrays together.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Anonymous functions.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Anonymous Subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
BEGIN and END Subroutines (Startup and Finish).pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
calculate 1000th element of standard Fibonacci sequence.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Call a subroutine and use it.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Call a subroutine through its reference.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Call a subroutine without defining it.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Call sub.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Call subroutine with parameter by using its reference.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Call the subroutine with $number.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Calling a sub routine with 'subroutine_name();'.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Calling a sub routine with &.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Calling function in print statement.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Calling subroutines that are not defined before use.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Check the prototype.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Closure in action.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Context and Subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Create a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Declaration with prototype.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Define local variable in subroutine by using my.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Define subroutine and call it with using global variable.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Define subroutine prototype.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Define subroutine then use it.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Difference between my and local.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
displays all the arguments.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Duplicate global and local variable name (use strict;).pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
factorial with recursive function.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Is a parameter defined.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Local variable shadows the gloabl variable.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Local variable shadows the global variable in a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Local variables in subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
my ($program, $exitCode) = @_; creates two local variables, $program and $exitCode, from @_.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
My value scope.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
my variable is initialized each time.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
my variable.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
my, local and global variable.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Nested method.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Nested subroutine with local variable.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
nested subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
output the subroutine arguments using special variable @_.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Pass file handle global reference to a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Pass reference to a subroutine to another subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Pass two array reference to a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing a range of value to a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing an array and modifying it,as a reference.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing array to a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing arrays to a function.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing Arrays.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing by reference with pointers.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing different number of parameter to a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing hash to a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing parameters to subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing References to a Subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Passing two values to a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Prototypes.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Recursive factorial subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Recursive fibonacci function.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Recursive subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
References to subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return a reference from a sub.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return a subroutine from a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return hash value from subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return more than one value from subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return reference from a function.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return reference to variable.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return two array references from a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return two arrays from subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return value based on context.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return value from subroutine reference.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return value from subroutine without using the return statement.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Return Value.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Returning arrays from subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Returning data from subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Scalar and list Context.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
shift parameter.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Subroutine parameter default value.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Subroutine with arguments defined before it is used.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Swap array value by using the sub range.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
The last statement is the value to return.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
The loop displays each individual argument.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
The return values of the ref function- hash.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
The scope of my variables.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
The wantarray Function and User-Defined Subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Use my to declare local variable.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using arrow operator to call a subroutine by its reference.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using closures.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using local.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using my if statement.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using my to declare the local variable in a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using my.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using return statement.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using shift(@_) to get value passed into a subroutine.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Using the return statement.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Wantarray function.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
wantarray() returns true if caller wants list, false if caller wants scalar, and an undefined value if the caller wants nothing.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |
Write recursive subroutines.pl
|
Initial commit
|
2019-11-15 12:59:38 +01:00 |