Help needed: Simple HASHES question

2003-04-05 Thread Ciprian Morar
1. What is the difference between Line #1 and Line #2?
2. Why is the Line #2 declaration incorrect?
use strict;

my %option;
$option {'q'} = new CGI;
#Line 1-
$option{'Mon'} = 'Monday';
#Line 2 -
$option-{'Tue'} = 'Tuesday';
print $option{'q'} - header(),
$option{'q'} - start_html();
print $option{'q'} - end_html;

#thanks---

_
Get Hotmail on your mobile phone http://www.msn.co.uk/mobile
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help needed: Simple HASHES question

2003-04-05 Thread Ciprian Morar
sorry for the spam - my question has been answered
Hotmail was filtering the discussion list.
C
1. What is the difference between Line #1 and Line #2?
2. Why is the Line #2 declaration incorrect?
use strict;

my %option;
$option {'q'} = new CGI;
#Line 1-
$option{'Mon'} = 'Monday';
#Line 2 -
$option-{'Tue'} = 'Tuesday';
print $option{'q'} - header(),
$option{'q'} - start_html();
print $option{'q'} - end_html;

#thanks---

_
Get Hotmail on your mobile phone http://www.msn.co.uk/mobile
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Express yourself with cool emoticons http://www.msn.co.uk/messenger
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


need help - simple HASHES question

2003-04-04 Thread Ciprian Morar
1. What is the difference between Line #1 and Line #2?
2. Why is the Line #2 declaration incorrect?
use strict;

my %option;
$option {'q'} = new CGI;
#Line 1-
$option{'Mon'} = 'Monday';
#Line 2 -
$option-{'Tue'} = 'Tuesday';
print $option{'q'} - header(),
$option{'q'} - start_html();
print $option{'q'} - end_html;

#thanks---

_
Get Hotmail on your mobile phone http://www.msn.co.uk/mobile
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]