ã¯ãã¹ãã©ãããã©ã¼ã ãªãã¡ã¤ã«ã»ãã£ã¬ã¯ããªãã¹ã®æä½ Path::Classã使ãã¨ãã¡ã¤ã«ããã£ã¬ã¯ããªã®æä½ãã§ãã¾ãã ãã£ã¬ã¯ããªæä½ use Path::Class qw(dir); my $dir = dir('foo', 'bar'); # ããã㯠use Path::Class::Dir; my $file = Path::Class::Dir->new('foo', 'bar'); # Windowsã ã£ããfoo\bar # Unixã ã£ããfoo/bar ã§è¡¨ç¤ºããã print "$dir\n"; # ãµããã£ã¬ã¯ããªã®åå¾ my $subdir = $dir->subdir('baz'); #foo/bar/baz # 親ãã£ã¬ã¯ããªã®åå¾ my $parent = $dir->parent; # foo # 絶対ãã¹ã®åå¾ my $abs = $dir->
{{#tags}}- {{label}}
{{/tags}}