Help for this page

Select Code to Download


  1. or download this
    $ ls
    hello
    ...
    $ perl -e 'my $dir = q(not$socooldir); system "mkdir \Q$dir" and die "
    +execution failed\n"'
    mkdir: cannot create directory `not$socooldir': File exists
    execution failed
    
  2. or download this
    my @lines = `shellcmd args`; # list context
    my $line = `shellcmd args`; # scalar context