Re: recognizing static or instance call

2006-01-07 Thread lars
Hi, > if ( ref $self ) { thanks to Todd and JupiterHost - that was quick and helpful! Lars -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: exectuable to code

2006-01-07 Thread JupiterHost.Net
S Khadar wrote: hi all i have a perl executable - now i want to edit the program... any help Open it in a text editor and go to town :) If its not plain text then you'll need to be more specific with what this is. Imagine we have no idea what it is you have and explain your problem/goa

Re: recognizing static or instance call

2006-01-07 Thread JupiterHost.Net
lars wrote: Hi, Hello, I am writing a package with some subs. One of these subs can be called for an instance of the object ($obj->get_defaults()) or as a static sub (Example::Package->get_defaults()). The behaviour of the sub depends on the kind of call. The following code accomplishes thi

Re: executing external binaries

2006-01-07 Thread Shawn Corey
Saurabh Singhvi wrote: hi people i have a script that executes external binaries using the system command. now the problem is this: the external binary is HUGE in terms of ram usage so i need a way to keep it loaded in the memory so that i can keep passing the next parameters, instead of loadin

Re: executing external binaries

2006-01-07 Thread Dr.Ruud
Saurabh Singhvi: > the external binary is HUGE in terms of ram usage so i need a way to > keep it loaded in the memory Maybe this: http://www.clapper.org/software/daemonize/ But it most likely will still deallocate all that memory between runs. Can't you let that binary do more per run? Or jus

Re: working with UK postcodes

2006-01-07 Thread Tom Phoenix
On 1/7/06, Mike Blezien <[EMAIL PROTECTED]> wrote: > we are trying to find some information for working with UK postcodes There seem to be some modules on CPAN. Will any of those help you? http://search.cpan.org/search?query=postcode&mode=all Hope this helps! --Tom Phoenix Stonehenge Perl T

Re: executing external binaries

2006-01-07 Thread Tom Phoenix
On 1/7/06, Saurabh Singhvi <[EMAIL PROTECTED]> wrote: > the external binary is HUGE in terms of ram usage so i need a way to keep it > loaded in the memory > so that i can keep passing the next parameters, instead of loading it each > time. It sounds as if you need to recode that external binary s

Re: recognizing static or instance call

2006-01-07 Thread Todd W
"lars" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I am writing a package with some subs. One of these subs can be called for an > instance of the object ($obj->get_defaults()) or as a static sub > (Example::Package->get_defaults()). > The behaviour of the sub depends on th

recognizing static or instance call

2006-01-07 Thread lars
Hi, I am writing a package with some subs. One of these subs can be called for an instance of the object ($obj->get_defaults()) or as a static sub (Example::Package->get_defaults()). The behaviour of the sub depends on the kind of call. The following code accomplishes this goal, but it looks a bit

Re: new for reading file containing multiple records

2006-01-07 Thread chen li
Hi Tom, Thanks for the reply. > Although it's tempting to set $/ to "\n>" for the > file format you > describe, that's probably not correct for the first > or last record in > your file. You are 50% right. This method is not correct for the first record(which actually contains ">' only) but it

Re: working with UK postcodes

2006-01-07 Thread Mike Blezien
thx's. this helps alot! :) Tom Phoenix wrote: On 1/7/06, Mike Blezien <[EMAIL PROTECTED]> wrote: we are trying to find some information for working with UK postcodes There seem to be some modules on CPAN. Will any of those help you? http://search.cpan.org/search?query=postcode&mode=al

working with UK postcodes

2006-01-07 Thread Mike Blezien
Hello, we are trying to find some information for working with UK postcodes, all we can find is modules and other applications for US zipcodes, IE: 1) Zipdy - http://www.cryptnet.net/fsp/zipdy/ 2) Geo::PostalCode are a couple but these only work with US zipcodes. Does anyone know of resource

Re: exectuable to code

2006-01-07 Thread John Doe
S Khadar am Samstag, 7. Januar 2006 12.30: > hi all > i have a perl executable - now i want to edit the program... > any help *Any* help? Use an editor of your choice and have fun! Or get the source, if "perl executable" means a compiled binary and "program" the corresponding source code. ht

exectuable to code

2006-01-07 Thread S Khadar
hi all i have a perl executable - now i want to edit the program... any help S K

executing external binaries

2006-01-07 Thread Saurabh Singhvi
hi people i have a script that executes external binaries using the system command. now the problem is this: the external binary is HUGE in terms of ram usage so i need a way to keep it loaded in the memory so that i can keep passing the next parameters, instead of loading it each time. kindly g