Home: Perl Programming Help: Beginner:
<> operator



Rysin
Novice

Jul 18, 2008, 7:43 AM


Views: 1210
<> operator

I started perl a little while back and bought theLlama book. I was chugging along perfectly fine until I stumbled upon the <> operator. Can someone explain to me how I use it and give some examples. All help is appreciated.
Thankyou


KevinR
Veteran


Jul 18, 2008, 11:08 AM


Views: 1205
Re: [Rysin] <> operator

It is explained in some detail here:

http://perldoc.perl.org/perlop.html#I%2fO-Operators

at the very basic it is the operator used to get some form of input into a perl script.
-------------------------------------------------


Rysin
Novice

Jul 18, 2008, 1:48 PM


Views: 1200
Re: [KevinR] <> operator

Thanks