Friday, June 6, 2008

I m trying to get people into Prog. Metal at my school- but so far nothing. So I thought I might as well see what you guys think of Prog Metal- so here it is- An Endless Sporadic-Sun of Perl:http://www.youtube.com/watch?v=_KzwUVwsch8

I have installed a perl module Net-Netmask.But when i run a perl program which uses this module it gives an error "Can t locate Net/Netmask.pm in @INC (@INC contains: ......". I have installed some other modules in the same directory and those working fine.But this module is giving some problem.PLz help me.

This is the part of the script i use;

my $filename = $query->param("photo");
my $deletefile="$filename";
unlink ($deletefile);

I have use File::Basename; set.

When I try to empty an array by writting

@array=(1-2-3-4-5-6-7);
@array=[]; print "@array\n";

The out is"
ARRAY(0x526350)

What does it mean? I know that when you empty an array I have to write @array=(); But what does the above thing mean?
I appreciate rav s answer- but why are you bringing "C" here. I told its "Perl".
Rina s ans is of no use here- since I already told that I know that.
Acid is not so confident...
Any more answers?

I want to write a script that will go and grab data from a website. Specifically- the weatherunderground site. I need it to be able to grab a date from a list- go to weatherunderground- and pull up a comma delimited file and save it to a directory.

I m not sure how to go about doing this. My computer will compile python and perl- but I only program in IDL (similar to FORTRAN). If I could get perl/python to do this one task- I can put it in an IDL program that will read in the data for me. I know this is possible- but I don t know how to go about doing it. Here s the site.

http://www.wunderground.com/history/index.html

Do I pass this site to the script and somehow tell it what to enter- or do I pass it the full address of the file (just the dates change in the address)? How do I get it to go grab the data and save it for me?

No comments: