Hi! I have some limited experience coding in Perl (mostly dealing with spreadsheets and other delimited text files). I'm trying to using the...
26925
skchoeonearth
Jun 11, 2010 2:15 am
Hi, when I use find() in File::Find, copy() always fails to find the source file w/ "No such file or directory" message. Here's the script: use File::Find; use...
26926
Donald Korrecta
draktrax
Jun 16, 2010 1:25 pm
I'm not completely certain that copy failed. I changed the source file to my Perl directory and the target to a file in a documents folder. I got one "TT.tif"...
26927
skchoeonearth
Jun 16, 2010 6:07 pm
Thanks for the reply. It's good to see that you have TT.tif in your target directory which means the copy worked. In my case, no file is copied to target...
26928
Donald Korrecta
draktrax
Jun 17, 2010 12:03 pm
After a little mental elbow grease I believe I have a partial answer to your dilemma. The question is this: Why are you copying pathnames to an image file? I...
26929
Donald Korrecta
draktrax
Jun 17, 2010 12:26 pm
Actually, the output reads: COPY result = 0Â | cpresult: 1 for all but the first two and any file that has already been copied. ... From: Donald Korrecta...
26930
Donald Korrecta
draktrax
Jun 20, 2010 5:23 pm
OK unless I'm completely off my noodle this is close(?) to what you're looking for: use File::Find; use File::Copy; $dir = "-> source <-" #source file  ...
26933
Jenda Krynicky
jendaperl
Jun 24, 2010 4:52 pm
From: "skchoeonearth" <skchoe@...> ... Unless this is meant as an exercise you should simply use File::Copy::Recursive (portable) or Win32::FileOp (Windows...
26934
literatecat
Jun 28, 2010 2:24 am
Hello all, I am trying to run some scripts from extropia and getting an "undefined subroutine" error during setup. Can anyone help with what I should be...
26935
Yanto asnawi
yanto_asnawi
Jun 28, 2010 7:38 am
Hello All, Please help me, I need to resize image jpg file (from upload, any size) into some size ex. 640 x 480 pixel. Do anyone know how to do? Thanks alot, ...
26936
Jonas Bull
me@...
Jun 28, 2010 2:56 pm
My non-expert suggestion: http://www.imagemagick.org/script/perl-magick.php ... -- Jonas Bull 601-324-0324 (Office) 228-222-2855 (Home)...
26937
khema1808
Jul 1, 2010 12:59 am
I have to process data which is in the form of rows and columns. How do I store each row into an array, split the contents of the array with a delimiter? eg:...
26938
sxsakura
Jul 1, 2010 11:23 am
Em....While doing the homework that gives from the "Learning Perl" books. The homework is "Give out some strings (a word per line) and count the word that has...
26939
Shlomi Fish
shlomif2
Jul 1, 2010 11:30 am
... You don't need this statement (the "<STDIN>;" one). It just skips a line. Without it, it should be fine. Regards, Shlomi Fish ... -- ... Shlomi Fish...
26940
sxsakura
Jul 1, 2010 1:12 pm
I try to save some values,and count the words that has given by user. and write this: #! /usr/bin/perl -w while(<>) { <STDIN>; chomp; $words{$_} += 1; } ...
26941
Charles K. Clarkson
charlesclarkson
Jul 1, 2010 10:16 pm
... Yes. Read about the 'split39; function. It shows a special case on how to split on whitespace. HTH, Charles Clarkson -- Mobile Home Investor Free Market...
26942
Amit Saxena
learn.tech123@...
Jul 2, 2010 9:39 am
Hi all, I have around 6+ years of IT experience as a software development mailing in scripting technologies using perl. I want to become technical architect in...
26943
john maclean
jayeola@...
Jul 2, 2010 10:00 am
So far I use Term::ReadLine CPAN::Bundle YAML Are there any other modules that you __have__ to have to keep your sanity? /bin/n00b -- John Maclean 07739 171...
26944
Amit Raj
amitraj97
Jul 2, 2010 11:53 am
Amit See the link: http://it.toolbox.com/blogs/enterprise-solutions/hiring-roles-technical-architect-10857. It summarizes the responsibility of a technical...
26945
Amit Saxena
learn.tech123@...
Jul 2, 2010 1:58 pm
... Hi Amit, I tried accessing the URL but it does not exists. Please crosscheck and let me know. Thanks & Regards, Amit Saxena [Non-text portions of this...
26946
Shlomi Fish
shlomif2
Jul 2, 2010 2:03 pm
... Perhaps you tried to access the URL with the trailing full stop - ".". This URL works for me: http://xrl.us/bhqkzo Regards, Shlomi Fish -- ... Shlomi Fish...
26947
merlyn@...
merlynstoneh...
Jul 2, 2010 2:33 pm
... john> So far I use john> Term::ReadLine john> CPAN::Bundle john> YAML john> Are there any other modules that you __have__ to have to keep your john>...
26948
Jonas Bull
me@...
Jul 2, 2010 3:07 pm
I am playing around with the following code. fib1 is a normal subroutine, fib2 is a lexically scoped lambda, and fib3 is a lambda. My question is, why does...
26949
Sakura Kinomoto
sxsakura
Jul 2, 2010 3:15 pm
Thanks,It solved~~ ________________________________ From: Shlomi Fish <shlomif@...> To: perl-beginner@yahoogroups.com Sent: Thu, July 1, 2010 7:29:26...
26950
hiprateek007
Jul 6, 2010 6:01 am
Hi, I have a task of sorting a file paragraph wise on the basis of an integer in the first line of those paragraphs. Like: the integer is 10 .... .... p1 the...
26951
Shlomi Fish
shlomif2
Jul 6, 2010 8:09 am
... Don't use $a and $b because the same numbers are likely to repeat more than one time for each sort invocation. Instead use List::Util39;s sum() on keys(%h). ...
26952
Prateek Mathur
hiprateek007
Jul 6, 2010 10:42 am
Hi Shlomi Fish, Can you tell me how to write this exactly as I am not aware of perl syntax. This is the generated code for the single line command: BEGIN { $/...
26953
Shlomi Fish
shlomif2
Jul 6, 2010 2:55 pm
... Well, you should be. This list is for Perl beginners who wish to learn Perl. See the resources on http://perl-begin.org/ for guidance how to learn Perl. ...
26954
Jenda Krynicky
jendaperl
Jul 7, 2010 8:30 am
To: perl-beginner@yahoogroups.com From: Jonas Bull <me@...> Date sent: Fri, 2 Jul 2010 10:07:14 -0500 Subject:...
26955
Jonas Bull
me@...
Jul 7, 2010 12:07 pm
Thanks, I was embarrassed when I realized that. :-) My next, related, question has to do with performance. In this example, using an anonymous function yields...