Re: calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread James Moser
s ;) David R. Wagner Senior Programmer Analyst FedEx Freight 1.719.484.2097 TEL 1.719.484.2419 FAX 1.408.623.5963 Cell http://fedex.com/us When using the system function I get an error. Does anyone know how to achieve that in perl. thanks in advance, Thomas Sincerely, James Moser ja...@endpoi

Re: free perl editor wanted

2009-02-17 Thread James Moser
codes. Thanks Sincerely, James Moser ja...@endpoint.com There are 10 kinds of people in the world. Those who understand binary, and those who do not. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: env

2008-12-05 Thread James Moser
is not listed as a perl predefined variable, though you or someone else could certainly create and use a variable by that name. If you are seeing %ENV_VARS is a perl script, that is most likely what someone has done. Sincerely, James Moser [EMAIL PROTECTED] There are 10 kinds of people

Re: Conditional Operator

2008-12-05 Thread James Moser
set $title to $title1 if defined, otherwise to $title2 if defined and otherwise to $old_title. Oh sweet, I did not know that... thanks Jenda! Sincerely, James Moser [EMAIL PROTECTED] There are 10 kinds of people in the world. Those who understand binary, and those who do not. -BEGIN PGP

Re: Conditional Operator

2008-12-05 Thread James Moser
title = $image->title2; } else { $title = $image->oldtitle; } Wouldn't this work for what you are trying to do: my $title = $image->title1 || $image->title2 || $image->oldtitle; Sincerely, James Moser [EMAIL PROTECTED] T

Re: Reading Files across directories and subdirectories

2008-12-02 Thread James Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 2, 2008, at 11:51 AM, John W. Krahn wrote: James Moser wrote: On Dec 2, 2008, at 5:48 AM, Koti wrote: I have a directory named "X" which has many sub directories "Y","Z","W" and many files a

Re: Reading Files across directories and subdirectories

2008-12-02 Thread James Moser
} else { print $l2; print " It's a file!\n"; } } } print "Enter The Directory Path"; $dir = ; chomp($dir); directory($dir); This should work for what your trying to do, but I have