Re: Question about subs and functions

2001-07-29 Thread Albena Georgieva
> What should cause me to have to pass variables to a subroutine through > arguments? One of the answers could be reusability and modularity. If you use arguments, you can call this subroutine whenever you like and from different programs too and not be dependent on the main program to define gl

calling URL and sending POST values

2001-07-29 Thread Albena Georgieva
Hi dear beginner's list, I want my perl script to call a certain url (second script) and pass the message with the POST method. Ii works, if I use GET method to send the value, as follows: $aMessage = "My beautiful message"; $cgi = new CGI; $location = "http://www.yyy.com/cgi-bin/seco