[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT programming languages/ systems for advanced applications on Linux



On Sat, Dec 24, 2011 at 10:44 PM, Miles Fidelman
<mfidelman@meetinghouse.net> wrote:
> David Christensen wrote:
>>
>>
>> Any other comments/ suggestions regarding programming languages/ systems
>> for advanced applications on Linux?
>>
> Lisp
> Smalltalk
> Erlang
> Haskell
> Caml/OCaml
> APL - if you're crazy or want to be; or you could go all the way to
> Brainfuck (http://esolangs.org/wiki/Brainfuck)
> for that matter, Ada, if you're writing mission-critical/safety-critical
> systems
>
>
> If you're really interested in programming languages:
> http://lambda-the-ultimate.org/

Tonight I am pretty free, so started to read something about perl.

#!/usr/bin/perl

print "Hello World! \n";

$a = 3;

print "$a  \n";

@food = {"apples", "pears", "eels"};

@music = {"whistel", "flute"};

@moremusic = {"organ", @music, "harp"};

push(@food, "eggs");

print @food;
print "@food";

I am so CONFUSED why the output is:
Hello World!
3
HASH(0x19ec998)eggsHASH(0x19ec998) eggs

print @food

is wrong? or something wrong with my box.

$ perl --version

This is perl 5, version 14, subversion 2 (v5.14.2) built for
x86_64-linux-gnu-thread-multi

Thanks,

>
>
>
> --
> In theory, there is no difference between theory and practice.
> In practice, there is.   .... Yogi Berra
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 4EF5E563.5000408@meetinghouse.net">http://lists.debian.org/[🔎] 4EF5E563.5000408@meetinghouse.net
>


Reply to: