Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    
    my @List=(localtime)[1,3];
    print @List;
    
  2. or download this
    Ambiguous use of @{localtime} resolved to @localtime at ./tmp line 6.
    Global symbol "@localtime" requires explicit package name at ./tmp lin
    +e 6.
    Execution of ./tmp aborted due to compilation errors.