in reply to Re: Email Multiple Files from Same Directory
in thread Email Multiple Files from Same Directory

I can't figure out the syntax for the \@list_of_file_names. I have tried multiple ways. I have tried it with commas and without. I have tried with full directory and with just the file name. Any ideas?

  • Comment on Re^2: Email Multiple Files from Same Directory

Replies are listed 'Best First'.
Re^3: Email Multiple Files from Same Directory
by Corion (Patriarch) on Jul 20, 2009 at 19:34 UTC
    my @list_of_file_names = ('file1.txt','another_file.doc','/and/this/fi +le.pdf'); $sender->MailFile( { ... file => \@list_of_file_names, }

    or, alternatively

    ... $sender->MailFile({ ... file => ['file1.txt','another_file.doc','/and/this/file.pdf'], })

      I figured it out....The problem is fixed! Thanks All