Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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!

# # - 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";


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-07-17 02:26 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (353 votes). Check out past polls.