Re: how to replace @ inside of { }

2008-03-23 Thread Gunnar Hjalmarsson
Chas. Owens wrote: On Sat, Mar 22, 2008 at 11:53 PM, Richard Lee <[EMAIL PROTECTED]> wrote: snip @{ $HoH{$1} }{ @{ $HoA{$1} } } = split; This is really spinning my heads in all direction trying to see if I can truly understand them instead of just using it. snip Take a look at http://perldoc

help witht he ffmpeg::Command perl module

2008-03-23 Thread Nasser
Hello, I've written a little perl script based on the example at the FFmpeg::Command cpan page. The code is as follows: - use FFmpeg::Command; use Carp; $input_file = "/tmp/NS051.avi"; print "Input file: $input_file\n"; $output_file = "/tmp/NS051.m4v"; print "Output file: $output_file\n"; pr

Re: help witht he ffmpeg::Command perl module

2008-03-23 Thread Rob Dixon
Nasser wrote: Hello, I've written a little perl script based on the example at the FFmpeg::Command cpan page. The code is as follows: Always use strict; use warnings; and declare all of your variables using 'my' close to their point of use. That will stop a lot of simple errors from occurring

Re: while reading 'mastering perl' @+ and @-, not too clear on this

2008-03-23 Thread brian d foy
In article <[EMAIL PROTECTED]>, Richard Lee <[EMAIL PROTECTED]> wrote: > While reading 'mastering perl', I run into @- and @+ for the first time. > Trying to understand what's going on, I ran the code from the book, but > > $-[1] and $+[1] shoudln't match only the first match? (in this case, > sh