Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: The day of today

by haoess (Curate)
on Mar 07, 2008 at 12:31 UTC ( #672754=note: print w/replies, xml ) Need Help??


in reply to Re: The day of today
in thread The day of today

print "Today is day @localtime[3].";

Doesn't your perl warn like

Scalar value @localtime[3] better written as $localtime[3]

? You should do it ;-)

-- Frank

Replies are listed 'Best First'.
Re^3: The day of today
by Erez (Priest) on Mar 07, 2008 at 14:33 UTC

    See? That's why you need to use strict and warnings :P

    Software speaks in tongues of man.
    Stop saying 'script'. Stop saying 'line-noise'.
    We have nothing to lose but our metaphores.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://672754]
help
Chatterbox?
[marinersk]: I definitely love it when my $current_taask=& taskPop(); if ($current_task eq $original_task) { } is true.
[marinersk]: s/taask/task/g;

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2017-05-25 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?