"Randy W. Sims" wrote:
> 
> On 5/29/2004 12:28 AM, gohaku wrote:
> > Hi all,
> > I'm not sure if ">>" is an official operator in Perl but I have seen
> > ">>" used in conjunction with
> > HTML code or Long Strings.
> > a google search and perldoc doesn't return any useful information.
> > I am looking for code examples that use ">>".
> 
> It has two uses: 1) the bitwise shift operator (see `perldoc perlop`),
> and 2) the use you describe is as a here-document, a way of quoting long
> strings (see `perldoc perldata`, search for the term "here-document").

Oddly enough, unlike most other operators in Perl, >> has only one use,
number 1 above.  Here-docs use <<.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to