View previous topic :: View next topic |
Author |
Message |
sanderrrrrr -
Joined: 10 Feb 2004 Posts: 28
|
Posted: Sat Mar 27, 2004 4:16 pm Post subject: Config file |
|
|
Hi, I was wondering if I could config Perl more the way I like it.
With PHP, I walked trough the php.ini. I could not find a perl.ini or something in the root.
So, Is there any Perl config file (it have to be) ? Where can I find it? |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat Mar 27, 2004 7:59 pm Post subject: |
|
|
Not that I know of.
Why exactly do you want it? _________________ Bienvenidos! |
|
Back to top |
|
|
sanderrrrrr -
Joined: 10 Feb 2004 Posts: 28
|
Posted: Sun Mar 28, 2004 1:37 pm Post subject: |
|
|
Becouse of my weared free diskspace (http://www.aprelium.com/forum/viewtopic.php?t=3928). In the php.ini, you can set how much memory phpscripts may take in, I want perl also to know that he may not use 100 Mb ;)
This is maybe a solution of my diskspace problem (see the link). |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Mar 28, 2004 6:21 pm Post subject: |
|
|
You need to program your perl scripts to do that
You don't have an option like you do in PHP to
Register Variables , Perl needs to parse your
Variables in order to function , PHP is much easier |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sun Mar 28, 2004 7:17 pm Post subject: |
|
|
Also, 2000/XP has a feature called "Disk Quota." You can limit the total size of a folder/entire disk. If you don't want to change the Perl script around, I can help you set up Disk Quota. _________________ Bienvenidos! |
|
Back to top |
|
|
sanderrrrrr -
Joined: 10 Feb 2004 Posts: 28
|
Posted: Mon Mar 29, 2004 12:23 pm Post subject: |
|
|
Tnks but, my server is running Win98SE. And if .. if I can't config Perl ... then ... then ... I don't LIKE it ANYMORE! :lol:
I will try something else to fix my problem ... like .. buying a new HD or something :? .
Tnks for so far, I will use the other topic to ask my next questions.
bye |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon Mar 29, 2004 10:54 pm Post subject: |
|
|
Or you can always upgrade to 2000/XP. _________________ Bienvenidos! |
|
Back to top |
|
|
jmoschetti45 -
Joined: 29 Oct 2003 Posts: 95 Location: MI USA
|
Posted: Thu Apr 08, 2004 3:07 am Post subject: |
|
|
You shouldn't need to adjust PERL's memory usage. Its very low. (<4 MB most of the time). Its not that hard to configure. I haven't read how to do it but I know you can pass parameters/commands to PERL from the shebang (the !#C:/perl/bin or similar line, usually the very first line) line in your script. For example some of my scripts have !#C:/perl/bin -wT. Don't know what they (wT) do, but I do know thats how to 'control' PERL. _________________ http://jmoschetti45.com |
|
Back to top |
|
|
|