From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: 05 March 2009 22:07
To: [email protected]
Cc: [email protected]; [email protected];
[email protected]
Subject: RE: Issue with Mail::Sender : "what is the << function called?"


> > ... but what exactly is the "<<" function called? 
> 
> It's called a "here doc" - it's a unix/shell convention, allowing
multiline input: 
> $ mail root <<EOM 
> > hi 
> > 
> > mom 
> > 
> > . 
> > EOM 
> 
> (old 'mail' ends w/ a '.' on line by itself) 
> 
> perldoc -q HERE.Doc 
> 
> Found in /usr/lib/perl5/5.8.0/pod/perlfaq4.pod 
>        Why don't my <<HERE documents work? 
> ... 

To add to that useful info, it is actually an operator rather than a
function, and is also described in 'perldoc perlop'.

HTH

-- 
Brian Raven 

-----------------------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient or have received this e-mail in error, please advise 
the sender immediately by reply e-mail and delete this message and any 
attachments without retaining a copy. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to