Thank you very much Beau. However, my question is not how to solve, there are many ways in deed, but why this happen and what's that actually? =)
The only problem I can bet here is because I use the Switch.pm in my script. TIA, again ----- Original Message ----- From: "Beau E. Cox" <[EMAIL PROTECTED]> To: "Li Ngok Lam" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 7:38 PM Subject: Re: I don't understand why this happen > ----- Original Message ----- > From: "Li Ngok Lam" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 18, 2003 1:10 AM > Subject: I don't understand why this happen > > > open my $fh, "<", "items/list.db"; > print while (<$fh>); > close $fh; > > This is suppose to printout the content in items/list.db , > but why I get somthing like "GLOB(0x162aca7)" ?? > > Thanks in advise. > > Try: > > open my $fh, "<items/list.db"; > -or- > open my $fh, "items/list.db"; > > Aloha => Beau; > == please visit == > <http://beaucox.com> => main site > <http://howtos.beaucox.com> => howtos > <http://PPM.beaucox.com> => perl PPMs > <http://CPAN.beaucox.com> => CPAN > == thank you == > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]