Hello,
I am writing a perl script which should create a file in /var/named directory.
I am using the following line in my script,
open FILE, "+>", "/var/named/$domain.db";
The script is creating a file with ".db" extension but not as "domain.db".
I am passing the value for the variable $domain from a HTML page.
Can anyone please help me to fix this out ?
Thanks in advance.
PERL MODULE MANAGER - perlmod Version 1.1.0
To Install perl modules and all dependent modules,Uninstall perl modules,List all perl modules in system,Search for a perl module in cpan.org and system,List all files of a perl module and Details of a perl module.
---------
Features:
---------
a) We can install any number of modules in a single command. Also all dependent modules of these modules insta
lled simultaneously.
b) Uninstall modules from the system
c) Print all files related to a module
d) List all perl modules installed in the system
[No delete option available, submitter has been blocked - EP]
Nowadays It will be very difficult to install Perl modules to our system. We need to follow certain recursive steps for each and all of its dependent modules.
This is an automated script developed in Perl to install Perl modules and all of its dependent modules with in a single step.
Released under License: GNU General Public License (GPL)
Download the script from
http://sourceforge.net/projects/moduleperl/
or
[url deleted]
Syntax:
perl installer module1 module2 etc
or
Hi,
This is my code
#!/usr/bin/env python
import logging, os, time, glob, logging.handlers
path = "/home/g/nani"
DataBase = os.listdir(path)LOG_FILE = open("/home/g/nslog.log", "w")
my_logger = logging.getLogger('Mylogger')
my_logger.setLevel(logging.INFO)
handler = logging.handlers.RotatingFileHandler(LOG_FILE, maxBytes=20, backupCount=5)
my_logger.addHandler(handler)for info in DataBase:
file = os.path.join(path, info)
text = open(file, "r")
The IDE update feature in Komodo doesn't work and actually has never worked in Linux for me. Is there a way to fix it?
Hi,
I want to implement Live packet capture for my application, Is it possible to implement Pcap(Packet capture functionality) feature in Active TCL?
I want to know which TCL extension is required to accomplish this.
I tried to use TCLPcap 2.0.0,but it is not working.
Please guide me regarding this.
Thanks,
Sivabalan K
Hello,
Is there a way to update DynaLoader.pm from ActivePerl 5.10.0 from 1.0801 to 1.0802 (the version used in PDK) ?
I run normally my script using ActivePerl.
When I compile it using perlapp I receive no warnings.
When I execute compiled script I receive this error :
[myname@MyOS perl.db]$ ./demo
DynaLoader object version 1.0801 does not match $DynaLoader::VERSION 1.0802 at /DynaLoader.pm line 99.
BEGIN failed--compilation aborted at /DBI.pm line 157.
BEGIN failed--compilation aborted at demo.pl line 1
Dear all,
Does anybody know how I can get SSID of the wireless lan that I am connected too? I have searched around and cannot find any useful information on this.
I want to be able to do this for both Windows and Linux.
Thanks
Chris
I am using Activestate Tcl 8.4.7.0
It is unclear to me if I am encountering a bug, which I doubt, or if I just don't understand Tcl/Tk programming.
I create an array of menubuttons in an Iwidgets scrolledframe.
Each menubutton is mapped into a row and column using the grid widget manager.
Each menubutton is "bound" to two events as follows:
bind menubut EnterEvent {script one}
bind menubut Button-3event {script two}
script two does the following (and more)
bind menubut EnterEvent "" ; grid forget menubut ; destroy menubut