in reply to Creating Perl5 plugin for Intellij IDEA (Camelcade)
Perl allows us to do crazy things. And i'm not sure that they all should be implemented in IDE, well, at least most people don't use them. For example, quote-like operations:
All uncommented lines are valid. Of course, they are interesting to write some unreadable code, but you don't need IDE for that.use 5.10.0; say q#7asdf#; say q{6asdf}; say q/5asdf/; say q(4asdf); say q<3asdf>; say q?2asdf?; say q _aasdfa_; #say q aasdfa; say q basdfb; say q casdfc; #say q dasdfd; say q easdfe; #say q fasdff; say q g1asdfg; say q hasdfh; say q iasdfi; say q jasdfj; say q kasdfk; say q lasdfl; say q masdfm; say q nasdfn; say q oasdfo; say q pasdfp; say q qasdfq; say q rasdfr; #say q sasdfs; say q tasdft; say q uasdfu; say q vasdfv; say q wasdfw; say q xasdfx; say q yasdfy; say q zasdfz; my $a = q ksadfk; $a =~ m leasdfl; $a =~ s lasdflfdasl;
Where is the line of required minimum? And i'm not talking only about this example.
And by the way, if anyone knows, why 'a', 'd', 'f' and 's' are so special?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl power: where to draw the line?
by AnomalousMonk (Archbishop) on Apr 25, 2015 at 16:25 UTC | |
by hurricup (Pilgrim) on Apr 26, 2015 at 05:35 UTC |