Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Learning Perl. Can't find a tutorial

Name: MythGuyDK 2006-12-11 12:46

Yeah, I need some help to get started... even a file of commands and what they do would help me a lot... thanks

Name: Anonymous 2006-12-11 12:53

perldoc perl

Name: MythGuyDK 2006-12-11 13:11

That being what?

Name: Anonymous 2006-12-11 13:21

http://www.oreilly.com/catalog/lperl3/ - A very good book. Loan it.

Name: Anonymous 2006-12-11 13:27

I have a better idea. Don't learn Perl, it's bad for your mental health.

Alternatively, man perl or >>2

Name: Anonymous 2006-12-11 15:03

>>1
Look at "(&/#$=()#$/&897++*/%_^(/5485906'84¡39". Familiarize with that string. You'll be reading and writing that for a looong time.

Name: Anonymous 2006-12-11 19:49

>>6
Only if you want to. There is nothing in perl that stops you from writing good code.

Name: Anonymous 2006-12-11 20:39

Name: MythGuyDK 2006-12-12 12:22

Thanks. I really appreciate the help. I think I've got what I need.

Name: Anonymous 2006-12-12 17:58

Name: Anonymous 2006-12-12 19:23

map{$_.=" bottles of beer on the wall";$b="Go to the store and buy some more, $_
.\n"if/99/;$_-1||s/s//;/.*r/;print$_<99?"Take one down and pass it around, $_.\n
\n":"","$_, $&.\n",$_<2?$b:""}reverse 1..99

Name: Anonymous 2006-12-13 6:33 (sage)

<code>
map {
    $_ .= " bottles of beer on the wall";
    $b = "Go to the store and buy some more, $_.\n" if /99/;
    $_ - 1 || s/s//;
    /.*r/;
    print $_< 99
      ? "Take one down and pass it around, $_.\n\n"
      : "", "$_, $&.\n", $_ < 2 ? $b
      : ""
  } reverse 1 .. 99;
</code>

Name: Anonymous 2006-12-14 9:39

perl -wle '(1 x $_) !~ /^(11+)\1+$/ && print while ++ $_'

Name: Anonymous 2009-01-14 13:09

LISP

Name: Anonymous 2011-02-04 14:13

Name: Sgt.Kabuꝸ療kiman䑏� 2012-05-28 21:22

Bringing /prog/ back to its people

Don't change these.
Name: Email:
Entire Thread Thread List