On Wednesday, April 17, 2002, at 04:59 , A. Rivera wrote:
> @data = ("test1","test2","test3","test4"); > print $data[1]; my @data = qw/test1 test2 test3 test4/ ; gives us all a chance to remember that since hubris and laziness are two of our three virtues.... why quote and comma that which can be done short and simple? >> Just wondering why the following code won't print anything at all. >> >> @data = "test1,test2,test3,test4"; >> >> @data = split(/,/); >> >> print $data[1]; ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]