Brand new to Perl and need HELP!!!
Web Development
2
Posts
2
Posters
10
Views
1
Watching
-
1. If value of $num was 21, what would be the following: a) Here is $num." b) "\\$num is my favorite." c) "Insert \$num here." 2. Define the following: subscript Thanks, your help is greatly appreciated.
1. a) >Here is 21. b) >\21 is my favorite. c) >Insert $num here. 2. Whatever you think about, a sub function is defined as following: sub MySub() { $arg1 = $_[0]; $arg2 = $_[1]; #etc return "A little text"; } and called: print &MySub("Hello"); --- Pseudocode is code to demonstrate a concept, not designed to be run. Like certain Microsoft software. (Thanks a lot who ever wrote Robert's Perl Tutorial)