in reply to Re: Problem retrieving data using WWW::Curl
in thread Problem retrieving data using WWW::Curl

hi if it's not a cgi script do i need to give it .cgi extention at all? and how shoud i call this? with what function? or does it just run?
  • Comment on Re^2: Problem retrieving data using WWW::Curl

Replies are listed 'Best First'.
Re^3: Problem retrieving data using WWW::Curl
by holli (Abbot) on Jun 13, 2005 at 18:20 UTC
    You call it as every perl script.
    bash> perl yourscriptfile
    Or, if the the script includes a shebang-line (#!/usr/bin/perl), make it executable via chmod and
    bash> yourscriptfile
    The extension is normally just important for the webserver, and even that is a configuration issue.

    On windows the extension is more important, because there the shebang line has no influence on which perl is used. There normally the extension ".pl" is associated with perl.
    C:\> yourscript.pl
    However, the first way with explicitly calling the perl interpreter works on both systems.


    holli, /regexed monk/