in reply to Re^3: pattern matching with wildcards...
in thread pattern matching with wildcards...

CountZero, Thanks again for the reply. Yes, I could install the Net::FTP::Simple module in my home directory, but this perl script will not be run from the server where I am developing it. It will be run from a production server that I have no access to. Mike R
  • Comment on Re^4: pattern matching with wildcards...

Replies are listed 'Best First'.
Re^5: pattern matching with wildcards...
by CountZero (Bishop) on May 12, 2009 at 18:37 UTC
    Then include the module as part of your script.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      How would I include the module as part of the script? That sounds like the right road to travel down.
        Download the module from CPAN, extract it and copy-and-paste it at the end of your script. You will not have to "use" it as it is already in your script. By putting it at the end of your script its package declaration will not interfere with your namespace.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James