Re: subroutine in seperate file, question

2012-08-11 Thread shawn wilson
On Aug 10, 2012 11:41 PM, pa...@riseup.net wrote: I mean to ask, wether they will clash with the same loaded modules loaded in calling script? No. they are loaded only once. Well, they will both be in ISA to look up separately but there is no conflict.

Net::NNTP inconsistent article retrieval

2012-08-11 Thread Chris Knipe
Hi All, I'm using Net::NNTP to transfer articles from servers. My aim is to write an NNTP proxy. I obtain the article from my parent news server, write the file to disk, and serve the current, as well as future requests for that article from the local file on the disk. My results are very

Re: subroutine in seperate file, question

2012-08-11 Thread Shawn H Corey
On Sat, 11 Aug 2012 02:49:56 -0400 shawn wilson ag4ve...@gmail.com wrote: On Aug 10, 2012 11:41 PM, pa...@riseup.net wrote: I mean to ask, wether they will clash with the same loaded modules loaded in calling script? No. they are loaded only once. Well, they will both be in

Re: subroutine in seperate file, question

2012-08-11 Thread Rajeev Prasad
Thank you. I am confused about how to send variables to this ext.pl and get values (scalars) back into main.pl another confusion is from web the cgi will run, i want to check cookies in external subroutine file and redirect to some website based on some condition, or gives some values back to

Re: Net::NNTP inconsistent article retrieval

2012-08-11 Thread Paul Anderson
Umm... Are you aware that binary attachments on usenet aren't actually *in* binary? They're encoded in ASCII using one of a number of different methods. They're just text, until decoded on the receiving end. I recommend looking into File::Slurp and CHI. CHI basically implements the entire

Re: subroutine in seperate file, question

2012-08-11 Thread Rob Dixon
On 11/08/2012 12:43, Shawn H Corey wrote: No, @ISA is used only by Exporter.pm Exporter makes no use of @ISA at all. This array is a per-package variable used by Perl internally to implement object-oriented inheritance. It is very often used to make a package a subclass of Exporter, but that