Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Can (nearly) any Perl program be written on a single line?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Ala Qumsieh, post: 4800450"] By "single line" you mean a single Perl statement? I don't think that's possible, except for the simplest of programs. Why? Generally, I do avoid formats because I don't really need them. But in some cases, they are extremely useful. As for heredocs, I don't see a reason to avoid them. If you want clearer multi-line print statements, go with heredocs. --Ala [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Can (nearly) any Perl program be written on a single line?
Top