quick perl question

John Abreau jabr at blu.org
Thu Feb 10 16:08:26 EST 2000


On Thu, 10 Feb 2000 Phil Buckley <phil at infoinsomniax.com> wrote:

> A bit off topic, but I know someone out there will have this on the top
> of their head... 
> 
> I want to pull in a cgi script that holds a handful of common functions.
> I thought the proper syntax was something like: 
> 
> #!/usr/bin/perl
> 
> use "common.cgi";
>
> but apparently it isn't.
> 
> Can someone please gimme a quick dope-slap and remind me.

*thwap*

    use CGI qw/:standard/;

--
John Abreau / Executive Director, Boston Linux & Unix 
Email: jabr at blu.org / URL: http://www.blu.org
ICQ#28611923 / AIM abreauj
-----------------------------------------------------------------------
"Working with NT is like trying to tune a watch wearing oven mitts.
 You can't get your fingers inside like you can with UNIX.
-----------------------------------------------------------------------

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list