Search the web
Sign In
New User? Sign Up
perl-beginner · Perl Beginners Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 21152 - 21181 of 26718   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
21152
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...
kjhseka
Offline Send Email
Jun 1, 2005
8:40 pm
21153
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 ... ...
prakash
prakash@...
Send Email
Jun 1, 2005
8:45 pm
21154
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...
Brad Lhotsky
brad@...
Send Email
Jun 1, 2005
9:16 pm
21155
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...
Kris Stitt
kmstitt
Offline Send Email
Jun 1, 2005
10:19 pm
21156
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"...
Suraj Jacob
iamxsj
Offline Send Email
Jun 1, 2005
10:34 pm
21157
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...
kjhseka
Offline Send Email
Jun 2, 2005
2:24 am
21158
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...
kjhseka
Offline Send Email
Jun 2, 2005
2:29 am
21159
... 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...
Offer Kaye
offer.kaye@...
Send Email
Jun 2, 2005
6:37 am
21160
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... ...
Suraj Jacob
iamxsj
Offline Send Email
Jun 2, 2005
11:49 am
21161
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...
rhug505456
Offline Send Email
Jun 2, 2005
1:38 pm
21162
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...
Peter Dominey
pdominey
Online Now Send Email
Jun 2, 2005
1:51 pm
21163
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. ...
mail meda
mailmeda@...
Send Email
Jun 2, 2005
2:52 pm
21164
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...
kjhseka
Offline Send Email
Jun 2, 2005
10:05 pm
21165
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...
Suraj Jacob
iamxsj
Offline Send Email
Jun 3, 2005
6:02 am
21166
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...
Kishore Balla
kishoreballa
Offline Send Email
Jun 3, 2005
7:08 am
21167
just do $0 , or use File::Basename module and do something like use File::Basename; $prog = basename($0); ... -- Nikhil Google is Great !...
Nikhil Mulley
nikhiltheprince
Offline Send Email
Jun 3, 2005
7:35 am
21168
or simply ($filename = $0 ) =~ s/.*\\//g; # strips the file extension ... -- Nikhil Google is Great !...
Nikhil Mulley
nikhiltheprince
Offline Send Email
Jun 3, 2005
8:40 am
21169
just do $0 , or use File::Basename module and do something like use File::Basename; $prog = basename($0); ... -- Nikhil Google is Great !...
Nikhil Mulley
nikhiltheprince
Offline Send Email
Jun 3, 2005
8:41 am
21170
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...
Carter Ralph
wcarterralph
Offline Send Email
Jun 3, 2005
11:35 pm
21171
... 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 ...
a_z0_9_blah
Offline Send Email
Jun 3, 2005
11:57 pm
21172
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...
Mike Southern
mikesouthern
Offline Send Email
Jun 4, 2005
12:14 am
21173
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...
Sreeram B S
sreeramabsc
Offline Send Email
Jun 5, 2005
2:50 pm
21174
... Use the special Perl variable $$ or the getpid() function from the POSIX module: http://perldoc.perl.org/perlvar.html#%24PID ...
Offer Kaye
offer.kaye@...
Send Email
Jun 6, 2005
8:22 am
21175
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...
srinivas joshi
srinivasjoshi34
Offline Send Email
Jun 6, 2005
9:08 am
21176
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...
Donato Azevedo
donatoufmg
Offline Send Email
Jun 6, 2005
3:39 pm
21177
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...
David Heayn
person_xx
Offline Send Email
Jun 7, 2005
5:40 pm
21178
... 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 ...
Paul Alapatt
paulalapatt
Offline Send Email
Jun 7, 2005
6:14 pm
21179
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...
Sreeram B S
sreeramabsc
Offline Send Email
Jun 8, 2005
12:45 pm
21180
Hi all, sorry for posting offtopic message... In smtp.. after establishing telnet connection with mail exchange server.. and after giving series of commands...
Kishore Balla
kishoreballa
Offline Send Email
Jun 8, 2005
12:48 pm
21181
... You probably want to use the split() function: @characters = split //, $check; What do you intend to do, though? -- Jeff "japhy" Pinyan % How can...
Jeff 'japhy' Pinyan
evilffej
Offline Send Email
Jun 8, 2005
1:02 pm
Messages 21152 - 21181 of 26718   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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