PERL

    Next

  • 1. problem reading remote file.
    Hello, I have a script to read remote file. The script goes as follows, #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp); This script runs fine on my windows machine. But the same script when I run in UNIX, after changing the shebang line to /usr/bin/perl, I get could not open the file file_name.pl at 4 The remote host from which I am trying to read the file is also Windows box. 1. where am i making wrong? 2. Why the script is not running on UNIX? Thank you, Regards, kath.
  • 2. convert string of keys to multidimensional hash
    how do I do this: convert a string such as "dim1:dim2:dim3" or array ("dim1", "dim2", "dim3") to a hash like: $hash{"dim1"}{"dim2"}{"dim3"} any help is appreciated
  • 3. test - disregard
    asdfasdf
  • 4. Request for a PERL script to download files
    I would like to use a PERL script to logon to a web site, navigate web pages, select links for files to be downloaded, then receive the files. The names of the files will be dynamic changing daily. The reason I want to use PERL to do this is to automate the process so a person doesn't have to do it. Does anyone have an example script that does something like this? Thank you.

Re:

Postby Ron » Sun, 20 Jul 2003 08:35:53 GMT

Tried this code get a server 500 error.

Anyone know what's wrong with it?

if $DayName eq "Select a Day" or $RouteName eq "Select A Route") {
    dienice("Please use the back button on your browser to fill out the Day
& Route fields.");
}

Thanks,
Ron




Re:

Postby Bob Walton » Sun, 20 Jul 2003 10:59:56 GMT




(---^


...

...
-- 
Bob Walton


Re:

Postby Rainer Klier » Thu, 31 Jul 2003 22:17:59 GMT


    ^                                                            ^
    |                                                            |

  here               you should change something or            there 

Rainer

Re:

Postby gnari » Sat, 07 Feb 2004 07:24:31 GMT





try perlre

gnari




re:

Postby X » Sun, 26 Feb 2006 06:06:44 GMT

i guess it\'s been awhile since my last computer science course... but i\'m
still embarrassed. thanks for the answer..greatly appreciated.



Re:

Postby Leo Franks » Thu, 07 Aug 2008 07:03:01 GMT


Re:

Postby Leo Franks » Sat, 09 Aug 2008 11:23:33 GMT


Re:

Postby Juha Lindberg » Wed, 06 May 2009 19:28:11 GMT


Eiktosiaan kaltaiseni asiaa ja kunnollista ja vstmateriaalia
tuottava saa olla heid hriknneiltn vapaata nettisivustoa en
mistn?
Eiktosiaan saada ntties mittorimyyntikokouksiaan  piti
"Fallstr&kump" padottua pois tai edes rajattua asiaankuulumattominme
juttuhaahuiluine nyyssiin.

Heillkun tuntuu olevan SUOPO-verorahoitteinen luulo siit ettsaavat
hrikdasiaa-aiheisiin kuulumattomilla kirjoituksillaan
nettiaiheosastoissa missvaan! Onko tosiaan nettimme valjastettu tlaisten
"rahasta sensuuriohjelmiaan ja ties mitmoskansa" myyvien, tyrkyttien
trollien

Ja minusta on viimeistn nyt pantava my valtioneuvostossa huomioon, ettei
heid hrintsrajoitu en edes nettiin. Vaan ovat hyvkt alkaneet
ottaa laajastin hampaisiinsa asiallisen ydinkritiikin YVA-TEM tiedostojen
kaltaista valtion materiaalia my. Terveiset nyt suoraan Sisinmisterin
asti! Niin kauan kun tsydin-SUPO turvottamassa Suomessamme on
demokratialle tilaa on syytpanna tlaiselle sikailukehitystaantumiselle
tiukat suitset. Kun maamme oikeusministeri Tuija Brax haikailee maamme
saattamiseksi takaisin demokratian uomaan jokainen ymmt, etttlaisia
edellainittuja ydinpainostusrypptei saa antaa mellastaa kuin siat
pellossa!



Return to PERL

 

Who is online

Users browsing this forum: No registered users and 29 guest