On Fri, Mar 6, 2009 at 11:20 AM, Beartooth <bearto...@swva.net> wrote: > On Fri, 06 Mar 2009 11:26:37 +0000, David Shochat wrote: > >> Ok, try running the script at the command line with a minimal mailto: >> alpine_helper.pl mailto:a...@b >> If the script is working properly, a new Terminal window will come up, >> with an alpine composition started, pre-addressed to a...@b. Tell us what >> happens. > > [b...@hbsk2 ~]$ alpine_helper.pl > Use of uninitialized value $url_from_pan in concatenation (.) or string > at /home/btth/bin/alpine_helper.pl line 4. > [b...@hbsk2 ~]$ > You omitted the argument (mailto:a...@b) on the command line. Do it exactly as follows: alpine_helper.pl mailto:a...@b
I should have added an error-check for this case but I was trying to keep the script minimal. Remember that when pan calls the script, it will always add a (long) mailto: as an argument. Since the script is intended only to be used as a mailer for pan, it has no need to handle the case of no argument. -- David _______________________________________________ Pan-users mailing list Pan-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/pan-users