#!/usr/local/bin/perl use strict; use warnings; my @ARVG = (); my $dir = $ARVG[0] || "/tmp"; print $dir;