Ask a Question related to PERL Beginners, Design and Development.
-
Robert #1
Perl Style
When they say "uncuddled else" are they meaning:
if () {
# code
}
else {
# code
}
Robert Guest
-
Need help with Style conversion from Style object to Style key/value collection.
I am writing a custom control that derives from the DataGrid control. I would like to apply SelectedItemStyles and ItemStyles for use in my derived... -
Perl 6 style regular expressions
I was wondering if anyone has done any work on implementing Perl 6 style regular expressions. Looking at the design docs at... -
Are perl-style global variables thread-safe?
Scripsit illa aut ille »Andreas Schwarz« <usenet.2117@andreas-s.net>: They look thread-safe ruby -e 'Thread.new() do "Hallo" =~ /(.*)/; sleep... -
perl style guide
Besides the one on perldoc.com, does anyone else have any other style guides I can take a look at to get a look at feel for which one I should use?... -
What are 'Perl 5 style templates'?
My client wrote to me... "All scripts must be written in perl 5. Use Perl 5 style templates for all pages and emails associated with the perl... -
Tim Johnson #2
RE: Perl Style
I would guess either that or
if()
{
#code
}
else
{
#more code
}
which I have seen, usually by people who primarily code in C.
-----Original Message-----
From: Robert [mailto:bobx@linuxmail.org]
Sent: Sat 1/31/2004 2:24 PM
To: [email]beginners@perl.org[/email]
Cc:
Subject: Perl Style
When they say "uncuddled else" are they meaning:
if () {
# code
}
else {
# code
}
--
To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
For additional commands, e-mail: [email]beginners-help@perl.org[/email]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Tim Johnson Guest
-
Jeff 'Japhy' Pinyan #3
Re: Perl Style
On Jan 31, Robert said:
A cuddled else is:>When they say "uncuddled else" are they meaning:
if (...) {
...
} else {
...
}
Anything other than THAT is an uncuddled else.
--
Jeff "japhy" Pinyan [email]japhy@pobox.com[/email] [url]http://www.pobox.com/~japhy/[/url]
RPI Acacia brother #734 [url]http://www.perlmonks.org/[/url] [url]http://www.cpan.org/[/url]
<stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
[ I'm looking for programming work. If you like my work, let me know. ]
Jeff 'Japhy' Pinyan Guest
-
Robert #4
Re: Perl Style
Jeff 'Japhy' Pinyan wrote:
Got it. Thanks!> On Jan 31, Robert said:
>
>>>>When they say "uncuddled else" are they meaning:
>
> A cuddled else is:
>
> if (...) {
> ...
> } else {
> ...
> }
>
> Anything other than THAT is an uncuddled else.
>
Robert Guest
-
Erik Aronesty #5
Re: Perl Style
I like cuddled else's. It visually links the logic of the else block to the preceding if statement... while saving vertical space. I think this is an area where it's a matter of preference. Although some people claim that "Larry Wall" likes his else's uncuddled, I doubt, very much, if he gives a ##$@.
Junior Member
- Join Date
- Dec 2010
- Posts
- 1



Reply With Quote

