ok, now i think i see.
so a fully declared variable looks just like
my $email;
just linked the perldoc. =)
At 05:09 PM 7/25/01 -0400, you wrote:
> > -----Original Message-----
> > From: David Freeman [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 25, 2001 5:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: perldoc
> >
> >
> >
> > ok so to have global symbols i need to declare them. i can understand
> > that. in perldoc there in no my on this system it would
> > appear. but i
> > read about it elsewhere. But i could not find in either
> > place an example
> > of the types of declarations i would need to make for these variables.
> >
> > use strict;
> >
> > $email = $str?
> >
> > would this be correct to do?
>
>perldoc is installed into the same directory as your perl binary. It may not
>be in your path, so you may need to add it or link to it. You won't get very
>far if you don't use it, so find it and use it. Save yourself much head
>banging.
>
>You need to declare your variables, typically with "my".
>
> use strict;
>
> my $email; # $email is a lexcially-scoped variable
> # existing from here through the end of this file
>
> $email = "blah blah";
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
David M.R. Freeman
webmaster sysadmin for MMP, Inc.
web: www.woodfreeman.com
e-mail: [EMAIL PROTECTED]
phone: (253) 564-5902
fax: (253) 565-1811