from the doc I was a little confused and wanted clarification:
Also be careful not to
follow the print keyword with a left parenthesis
unless you want the corresponding right parenthesis
to terminate the arguments to the print--interpose a
"+" or put parentheses around all the arguments.
this makes me think I can do this:
print(FILEHANDLE list, of, stuff, to, print), next if (condition);
which I haven't tested. and do I need another comma in that?... ;) just
fueling the fire I guess.
> -----Original Message-----
> From: Tim Musson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 11, 2002 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Is this correct? print syntax
>
>
> Hey Nikola,
>
> My MUA believes you used Internet Mail Service (5.5.2650.21)
> to write the following on Friday, October 11, 2002 at 2:28:27 PM.
>
> NJ> Is this correct placement of the parenthesis?
>
> NJ> print FILEHANDLE (list_of_print_stuff);
>
> The best thing to do is look at perldoc, and try it yourself.
>
> use strict;
> use warnings;
> print (list_of_print_stuff); # This gives an error
> print "\nThis is how I usually do it\n";
>
> try perldoc -q print at a command prompt.
>
> --
> [EMAIL PROTECTED]
> Flying with The Bat! eMail v1.61
> Windows 2000 5.0.2195 (Service Pack 2)
> What else can you do at 3:00 am?
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]