User Profile
Collapse
-
For which purpose you want to do this things, if I know I can tell the better solution for you -
Use Function
You can use "system" function .
example :
system ("you perl script path " ) ;Leave a comment:
-
Problem in Assigning the Function return values.
In your switch cases , you are assigning the function return values in variable . this is actually function name ( total) . Which means that you are having the same name for function and your variable (total) . That is why it is throwing the error. Change your variable name or change your function name . It will work fine.Leave a comment:
-
Use if condition
Code:<spoonfeeding code removed>
Leave a comment:
No activity results to display
Show More
Leave a comment: