Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.28 KB

File metadata and controls

42 lines (31 loc) · 1.28 KB

begin perl file: #!/usr/bin/perl -T

use strict; use warnings; use CGI;

BEGIN { open (STDERR, ">&STDOUT"); select(STDERR); $| = 1; select(STDOUT); $| = 1; print "Content-type: text/html\n\n"; }

my $q = CGI->new;


string = declared with $variable

  • to get param: my $variable = $q->param('parametername') || default;

array of strings = declared with @variable

  • to get params: @arrayname = $q->multi_param('parametername');

hash = declared with %

  • to get

  • work with store5 (2/1)

  • command to check what was recently edited in the week files: ls -lrt


links