How to run a batch file

2006-01-09 Thread The Roopak Times
Hi All how can i run a batch file by a perl script. i'm also getting a compilation error in following program. i have output of ping commnad in a text file and i want to replace the IP Address with the hostname. error is:- Global symbol "%sites " requires explicit package name at network.pl line

I'm back

2005-10-13 Thread The Roopak Times
Hi All Sorry to disturb you again but the same program is creating a heap of troubles this time it is not showing any results at all, it takes an input and then forgets to process, the program is here *use warnings; use strict;* *print "Plz enter the path name:"; my $DIR=; chomp($DIR); if($DIR=

Plz help

2005-10-11 Thread The Roopak Times
Hi All As i was continuing with perl i created a program to churn out individual directory names from a given path in windows.Here is the program: #use warnings; #use strict; Print "Enter the path:"; my $dir=; chomp($dir); my @DIR=split ///, $dir; print $DIR[0]; but it throws an error "Search p

somebody help me

2005-10-04 Thread The Roopak Times
Hi All I'm just a beginner with perl. i was taking my initial lectures so i tried to make a program to slice a value from an array. the program was like this: use warnings; use strict; my @array; @array=qw( the quick brown fox ran over the lazy dog); print "$array(4)\n"; This program does not s