Re: Bash vs Perl

Lars Noodén <[email protected]> Fri, 14 Jul 2023 19:50:47 +0300
Newsgroups gmane.comp.lang.perl.beginners
Message-ID <[email protected]>
On 7/14/23 19:05, William Torrez Corea wrote:
>     - cd : Change the directory to a different location.
>     - ls : List the contents of the current directory.
>     - mkdir : Create a new directory.
>     - touch : Create a new file.
>     - rm : Remove a file or directory.
>     - cp : Copy a file or directory.
>     - mv : Move or rename a file or directory.
>
> The program must update the package manager

See some of the CPAN modules,

  File::chdir
  File::DirList
  File::Touch
  File::Copy
  File::Path::Tiny

and the perl functions

  chdir()
  mkdir()
  unlink()
  rename()

What problem are you trying to solve?

/Lars


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/