I'm generating text file in Perl, but I need to e-mail them out. This is on a Sun Solaris 10 and it has mailx command on it. I need to send the files as...
sir, i need to find one string from paragraph and to convert all the letters in paragraph to 'X', except that string. can anyone help to correct it. i have...
... sajan> sir, i need to find one string from paragraph and to convert all the sajan> letters in paragraph to 'X', except that string. can anyone help to ...
I'm running Solaris 10 and my Perl script won't work under crontab. Well part of it does anyway. I'm making a file with headers in it and that part works...
... Let me ask a different way. What is not happening when you run the script from cron? Is there an interactive portion of the process that is not being...
Hi Sajan, I am working on this problem and I found all that I could get out of $para was the number of substitutions. The way this seems to work is on the...
When run manually the script makes three forks, runs around the network gathering server port information. Then I make the file with the header information in...
Hi, The symptoms make this sound like a permission problem. You may not be accessig a directory when this runs under cron. Kevin ... crontab. Well part of it...
... Ok. So I assume you want $para=~s/[^$string]/X/g; ... just a ^ to look for non-matching things. ... -- -- http://thexayon.wordpress.com Que la fuerza os...
David Francos (XayOn)
yo.orco@...
Feb 25, 2009 5:31 pm
26550
... OK: what does "runs around the network" mean? What is being invoked? What I'm trying to help you discover is what is the difference in the environment...
What I mean by run around the network is. I have a list of servers and i use Net::SSH::Perl to SH into each one and do ifconfig's and kstat to gather port...
... That's because you're doing: $para = s/something/X/g; instead of $para =~ s/something/X/g; You're using the = operator instead of the =~ operator. -- The...
Sorry it took so long but they expect me to do work around here for some stranfe reasion. The to attachments is the output of the %ENV hash running the scrips...
I'm trying to find out what my primary dns server is, within a perl script. It just happens to be an AD server, and I need to point to it as a AD machine...
sortof, closest I could find there was Net::DNS::ToolKit::get_ns but that didn't want to work on my machine. basically - the system knows what it's name...
Is it possible to implement this without using any external modules from CPAN ? Thanks & Regards, Amit Saxena [Non-text portions of this message have been...
Amit Saxena
learn.tech123@...
Mar 23, 2009 7:07 pm
26558
... Amit> Is it possible to implement this without using any external modules from Amit> CPAN ? Is it possible? Yes. Reasonable? No. Please state clearly your...
Hi, I am using a script where it works out of loop and loads different configs everytime from config files. I am loading that configs using 'require' ...
yaswanth krishna
yaswanth.krishna@...
Mar 24, 2009 5:10 am
26560
... That doesn't sound like a good plan. You are importing unknown variables and routines into your symbol table. That is not a usually a good perl programming...
... As mentioned in the earlier example, I need the script to run in different modes. For every mode of invocation, I am taking mode specific configs from ...
... yaswanth> As mentioned in the earlier example, I need the script to run in yaswanth> different modes. For every mode of invocation, I am taking mode ...
Were you able to solve this ? If so, how... /Tux On Tue, Mar 24, 2009 at 10:40 AM, yaswanth krishna < ... [Non-text portions of this message have been removed]...
igotux igotux
igotux@...
Mar 29, 2009 6:33 am
26568
#!/usr/bin/perl # Author leebinkley@... use strict; use warnings; my $diff = 0; my @TI = (); my $TimeInfo = \@TI; get_time($TimeInfo); my $MyWrkLoc =...
#!/usr/bin/perl -w use strict; use warnings; use Data::Dumper; my %MFI = (); my $MyFolderInfo = \%MFI; my $MyIn = 0; my $MyOut = 0; my @MyWorka = (); # #...
$err=Net::Pcap::sendpacket($pcap,\$ethr_data) or die "Can't send packet:$!\n\r$err"; and it will be stopped when it goes here.return error is :Bad file...