🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69367

Re: perl_call_argv

#69367
From: Russ Allbery
Date: Mon, 28 Jun 2004 19:53
19 lines
1995 bytes
Mason Leung <mleung@pc4.cs.ucdavis.edu> writes:

> At that time, argv[0] has the location of my authenticaiton script.
> After googling on perl_call_argv, it is calling the sub _load_ in a PERL
> script with the argument argv, can someone tell me what script contains
> _load_?  Also, what library (if any) are involved when perl_call_argv is
> called?  Thanks

load is a bit of Perl defined earlier by the Perl hooks that basically
calls the Perl "do" function.  (There are better ways to do this that I'll
switch to when I get a chance to rewrite the embedding hooks.)

This is a call into a Perl function, so it involves the libperl library.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87wu1rlary.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!canoe.uoregon.edu!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <cbphd1$ckl$1@woodrow.ucdavis.edu>

Show Full Headers
Complete Article Headers
Message-ID: <87wu1rlary.fsf@windlord.stanford.edu>
Subject: Re: perl_call_argv
Date: Mon, 28 Jun 2004 12:53:21 -0700
From: Russ Allbery <rra@stanford.edu>
References: <cbphd1$ckl$1@woodrow.ucdavis.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!canoe.uoregon.edu!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 19
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1088452401 20056 171.64.19.147 (28 Jun 2004
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through
 Obscurity, linux)
Cancel-Lock: sha1:pXVopnbpJicVdBrNi6wB2aOSLkc=