カレントディレクトリの変更


 chdirでできます。
chdir '/home/user1' or die $!;

関連項目

chdir関数
カレントディレクトリの取得