Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl Babysteps 1: Your First Simple Script

by sinfulhealer (Initiate)
on Oct 04, 2017 at 12:13 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found