elli
20 Nov 2006, 09:46 PM
I just started learning the very ultra beginning of perl programming.
I am confused about these things below, Could someone tell me if they are true or false and if false, why?
Thankyou very much
1. ok, so a text string is anything that a variable holds.
2. A string literal is anything in quotes excluding numbers.
3. And in the script referenced above:
$name =<>;
The <> is also called a text string even though there is no data entered in it yet.
I am confused about these things below, Could someone tell me if they are true or false and if false, why?
Thankyou very much
1. ok, so a text string is anything that a variable holds.
2. A string literal is anything in quotes excluding numbers.
3. And in the script referenced above:
$name =<>;
The <> is also called a text string even though there is no data entered in it yet.