Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: help with basic script

by thanos1983 (Parson)
on May 28, 2019 at 15:08 UTC ( [id://11100643]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl test.pl 
    syntax error at test.pl line 17, near "get_date;"
    Execution of test.pl aborted due to compilation errors.
    
  2. or download this
    $ perl test.pl 
    Hello World!
    ...
    SA - YEAR: 2019, MONTH: 5, DAY: 77
    
             END ing script test.pl
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    ($year, $month, $day) = get_date;
    print "SA - YEAR: $year, MONTH: $month, DAY: $day\n";
    print "\n\t\t END ing script $0\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11100643]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found