Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Perl Babysteps 1: Your First Simple Script

by sinfulhealer (Initiate)
on Oct 04, 2017 at 12:13 UTC ( #1200651=note: print w/replies, xml ) Need Help??


in reply to Perl Babysteps 1: Your First Simple Script

Thanks for this, webfiend.

I was pleased with the tutorial - neither just kick around the bucket nor loads of stuff to take in. Also: you explain in a "conversational manner" (if I may call it that :3), I appreciate that in an introduction! Makes it less heavy to take in. I as a neophyte appreciated this.

As for me: now I'm moving on to make some text-based adventures! woopwoop :D Feels like a nice way into Perl for me, oh and linked here's what my first ever Perl document looks like!

# hello.pl # - Displays a warm greeting # - Puts; print, string-variables, chomp and clear to practice system("clear"); print "\n What is thy name?\n\n\nYour reply:"; my $name = <STDIN>; chomp ($name); system("clear"); print "\n and From whence dosth thou hail?\n\n\nYour reply:"; my $usrhomerealm = <STDIN>; chomp ($usrhomerealm); system("clear"); print "\n ah, Salutations $name of $usrhomerealm!\n\n\n";

Regards

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1200651]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2017-12-13 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (345 votes). Check out past polls.

    Notices?