'string'; is a complete statement (a scalar constant?). It executes and no
output is produced. Even under strict it produces no warnings. Without the
quotes, it is a bareword, and strict catches it (compile time error).
darren
Oleg Bartunov ([EMAIL PROTECTED]) wrote:
> Hi,
>
> sorry for offtopic and silly question
>
> friend of mine just learning perl has asking me what does
> 'string'; means. Perl seems just silently ignores this
> 'statement' No warning, no action. Is it a known feature ?
>
> Regards,
>
> Oleg
> _____________________________________________________________
> Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
> Sternberg Astronomical Institute, Moscow University (Russia)
> Internet: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/
> phone: +007(095)939-16-83, +007(095)939-23-83