Hi, could anybody please illustrate with an example the use of the following variables :
$/ $* or more specifically here is the code i have. what exactly would the following accomplish ? $/ = "Begin"; $* = 1 ; while (<>) { if (/$pattern/){ print; } } my understanding is $/ = "Begin" treats the word "Begin"as delimiter instead of "\n" and treats the entire content between two "Begin" s as one single line. how does setting "$*" to a particular value alter anything here ? hope i am making myself clear .... thanks, S. __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>