Skip to search.
perl-beginner · Perl Beginners Mailing List

Group Information

  • Members: 2100
  • Category: Perl
  • Founded: Aug 2, 1998
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Messages 21152 - 21181 of 27344   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
21152 kjhseka Offline Send Email Jun 1, 2005
8:40 pm
Hello, I have a strange problem with a script that should be executed by a cronjob. The script would count the number of visits a website receives daily. For...
21153 prakash
prakash@... Send Email
Jun 1, 2005
8:45 pm
Make sure you run as the correct owner of that file That is xyz /usr/bin/perl scriptname It should be same as who u run as from the command line.. -prak ... ...
21154 Brad Lhotsky
brad@... Send Email
Jun 1, 2005
9:16 pm
It wouldn't hurt to check to ensure you opened the files. ie: open (YDAY_CNT, "/home/art/public_html/lg/tod_cnt.dat") or die "unable to open file: $!"; Make...
21155 Kris Stitt
kmstitt Offline Send Email
Jun 1, 2005
10:19 pm
I don't have a full answer for this but I might have a clue or two. I think that cron does not have all of the same settings that a normal user would have. So...
21156 Suraj Jacob
iamxsj Offline Send Email
Jun 1, 2005
10:34 pm
Hi all, I am writing a script for renaming files, but one which takes regular expressions from command line - something like mmv "sequence(\d+).tga"...
21157 kjhseka Offline Send Email Jun 2, 2005
2:24 am
Since I have only an username to access to the site, I suppose to have all the permissions to edit my own directoires. I have an hosting account, so "art" is...
21158 kjhseka Offline Send Email Jun 2, 2005
2:29 am
I forget something... Even if I run the script from the comand line as perl /home/art/public_html/cgi-bin/puthit.pl I get the same strange results! Only if I...
21159 Offer Kaye
offer.kaye@... Send Email
Jun 2, 2005
6:37 am
... means to take the string $dest and substitute in it the regexp $regex1 to nothing. Part of $regex1 is the literal string "sequence" which does not exist in...
21160 Suraj Jacob
iamxsj Offline Send Email
Jun 2, 2005
11:49 am
thanks kaye, I consulted a friend(^expert^) of mine and he gave me one solution around this.Here a small test code that he wrote to clarify the point... ...
21161 rhug505456 Offline Send Email Jun 2, 2005
1:38 pm
Greetings, I am trying to read an Excel file. My environment is Windows XP - SP2 and Excel is from Office 2003. I have taken the code from the Active State...
21162 Peter Dominey
pdominey Offline Send Email
Jun 2, 2005
1:51 pm
Hi, I just recently did some code for a customer that needed to bring in information from an Excel s/sheet. I used the module 'Spreadsheet'. Here's a piece of...
21163 mail meda
mailmeda@... Send Email
Jun 2, 2005
2:52 pm
Hi, For the script to be execute as cronjob. 1. Check whether are you using user env variables in your program. Load them at the start of the crontab file. ...
21164 kjhseka Offline Send Email Jun 2, 2005
10:05 pm
Hello, I checked permissions of the files and add die function, and now problem is solved. Thanks you all Alph ... permissions to ... a ... results, 0 ... line...
21165 Suraj Jacob
iamxsj Offline Send Email
Jun 3, 2005
6:02 am
Thanks Kaye, I also consulted a friend(^guru^) of mine, and he offered me the following solution: #!/usr/local/bin/perl my @files = `ls -1`; foreach my...
21166 Kishore Balla
kishoreballa Offline Send Email
Jun 3, 2005
7:08 am
Hi all, In a perl script, I'm warning the users with USAGE which contains filename.. I want to it to be changed if the file is renamed.. how to do it? is there...
21167 Nikhil Mulley
nikhiltheprince Offline Send Email
Jun 3, 2005
7:35 am
just do $0 , or use File::Basename module and do something like use File::Basename; $prog = basename($0); ... -- Nikhil Google is Great !...
21168 Nikhil Mulley
nikhiltheprince Offline Send Email
Jun 3, 2005
8:40 am
or simply ($filename = $0 ) =~ s/.*\\//g; # strips the file extension ... -- Nikhil Google is Great !...
21169 Nikhil Mulley
nikhiltheprince Offline Send Email
Jun 3, 2005
8:41 am
just do $0 , or use File::Basename module and do something like use File::Basename; $prog = basename($0); ... -- Nikhil Google is Great !...
21170 Carter Ralph
wcarterralph Offline Send Email
Jun 3, 2005
11:35 pm
I'm having trouble using BigFloat, and keep getting the error "Can't call method "x" without a package or object reference" I have the line: use...
21171 a_z0_9_blah Offline Send Email Jun 3, 2005
11:57 pm
... error "Can't ... read ... value ... and ... the ... For ... $dt = sprintf "%.4f", $t - $t1; I think this may fix your problem. I'm not familiar with the ...
21172 Mike Southern
mikesouthern Offline Send Email
Jun 4, 2005
12:14 am
You are telling the program to use the module, but you have not created a new object method. ... To use $t like this you must declare $t as a Math::Bigfloat...
21173 Sreeram B S
sreeramabsc Offline Send Email
Jun 5, 2005
2:50 pm
HI, How can I get the PID (process ID ) of the current process?? I referred the perlfunc manpage, but it says about getppid function in Perl, which can get the...
21174 Offer Kaye
offer.kaye@... Send Email
Jun 6, 2005
8:22 am
... Use the special Perl variable $$ or the getpid() function from the POSIX module: http://perldoc.perl.org/perlvar.html#%24PID ...
21175 srinivas joshi
srinivasjoshi34 Offline Send Email
Jun 6, 2005
9:08 am
Hi All I am new to Perl and I am into Testing ,I want to Get into Perl Automation Testing.So please Can any one Help me I want to Know How do u use perl in...
21176 Donato Azevedo
donatoufmg Offline Send Email
Jun 6, 2005
3:39 pm
If youre in a unix system you may try and parse the contents of /proc/self/ directory such as /proc/self/stat which has fields especifying the process´ id as...
21177 David Heayn
person_xx Offline Send Email
Jun 7, 2005
5:40 pm
Hi. I have a script built that takes a list of stock tickers, LWP's a couple pages based on each of them, and then generates a final analysis. My problem is it...
21178 Paul Alapatt
paulalapatt Offline Send Email
Jun 7, 2005
6:14 pm
... Dear David, Steps to achieve that are: 1. $|++ to ensure no buffering. 2. Output a textbox or gif processing animation to the user before your LWP ...
21179 Sreeram B S
sreeramabsc Offline Send Email
Jun 8, 2005
12:45 pm
HI, I have one question on strings. Suppose, I have: $check = "abcde"; Now, is there a way to access each character of the string $check, ie I want to get only...
21180 Kishore Balla
kishoreballa Offline Send Email
Jun 8, 2005
12:48 pm
Hi all, sorry for posting offtopic message... In smtp.. after establishing telnet connection with mail exchange server.. and after giving series of commands...
21181 Jeff 'japhy' Pinyan
evilffej Offline Send Email
Jun 8, 2005
1:02 pm
... You probably want to use the split() function: @characters = split //, $check; What do you intend to do, though? -- Jeff "japhy" Pinyan % How can...
Messages 21152 - 21181 of 27344   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help