Hiya,
I got some basic Perl questions. Hope you don't mind answerring them?
1) What is the use of just putting $var; on 1 line? Example:
#!usr/bin/perl -wT
# some code
$var;
Does this technique rescopes the variable?
2) Why is exit() or 1; used on the LAST line. I understand it being on some
line when you need to exit. Also, exit() won't be too hard. I think (and I
think I am possibly right), it exits because there are still some operations
during. But why 1; on the end of the line? Does it wait for a true value of
the whole script?
Think I've kinda missed these usements on Perl ;-)
Thanks for your help, already.
_________________________________________________________________
Direct chatten met je vrienden met MSN Messenger http://messenger.msn.nl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- RE: Some few basic Perl questions Mystik gotan
- RE: Some few basic Perl questions Beau E. Cox
- Re: Some few basic Perl questions dan
- Re: Some few basic Perl questions Jenda Krynicky
- a question about output stanley
- Re: a question about output Jeff 'japhy' Pinyan
- Re: a question about output Chris Ball
- Re: a question about output Jeff 'japhy' Pinyan