fork download
  1. #!/usr/bin/perl -wl
  2.  
  3. ($test = "tt") =~ /^\w(\w+)?\w+/ && print ($1) && print "'$test' authorized";
Success #stdin #stdout #stderr 0s 6000KB
stdin
Standard input is empty
stdout
'tt' authorized
stderr
Use of uninitialized value $1 in print at prog.pl line 3.