test

2010-06-25 Thread Alexandru Cardaniuc
please ignore -- "We are usually convinced more easily by reasons we have found ourselves than by those which have occurred to others." - Blaise Pascal (1623-1662) -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.

Re: perl glob returning number

2010-06-25 Thread John W. Krahn
Noah wrote: Hi there, Hello, why is the perl glob command returning a number and not the filenames? my (@filenames, @files); You are creating a new variable named @files which will be empty. for my $file (@files) { Because @files is empty this loop will not execute and *nothing* will

Re: perl glob returning number

2010-06-25 Thread Paul Johnson
On Fri, Jun 25, 2010 at 02:56:34PM -0700, Noah wrote: > Hi there, > > why is the perl glob command returning a number and not the filenames? It's not, it's just the way you are printing it. Try changing that dot to a comma, or C< print "@files\n"; > You need to understand context in order to le

perl glob returning number

2010-06-25 Thread Noah
Hi there, why is the perl glob command returning a number and not the filenames? my (@filenames, @files); for my $file (@files) { #my $filename = "$directory/*$file"; #print "$filename\n"; @files = <$directory/*$file> or die $!; print @files . "\n"; push @filenames, @f

Re: Fetch site information

2010-06-25 Thread Chas. Owens
On Tue, Jun 22, 2010 at 01:40, vishesh kumar wrote: snip >                                             I want you suggestion > regarding how can i get authentic information about particular web > site  in my perl script. snip What you are looking for is a [DNS Black Hole List][1] or DNSBL. You m

WG: Multiple background processes

2010-06-25 Thread HACKER Nora
Hi, Thanks to all of you who provided me with useful hints and tips - the Parallel::ForkManager does exactly what I want, nice'n'easy :) Kind regards, Nora > -Ursprüngliche Nachricht- > Von: HACKER Nora > Gesendet: Donnerstag, 24. Juni 2010 09:15 > An: beginners@perl.org > Betreff:

Re: Multiple background processes

2010-06-25 Thread C.DeRykus
On Jun 24, 12:15 am, nora.hac...@stgkk.at ("HACKER Nora") wrote: > Hi list, > > I am currently having an issue with background processes. I already > searched the web and found a way how to principally send a process into > background, wait for the execution to finish and then go on with the > main