Message -
From: "Perl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 23, 2003 7:04 PM
Subject: Perl defined variables
> Hi,
> could anybody please illustrate with an example the
> use of the following variables :
>
> $/
> $*
>
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
$/ = "Beg