Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: help with sprintf

by jwkrahn (Monsignor)
on Jun 20, 2012 at 21:51 UTC ( #977485=note: print w/replies, xml ) Need Help??

in reply to Re^2: help with sprintf
in thread help with sprintf

my @times = map "$_00", '00' .. '23';

Replies are listed 'Best First'.
Re^4: help with sprintf
by Eliya (Vicar) on Jun 20, 2012 at 22:26 UTC

    I suppose you meant

    my @times = map "${_}00", '00' .. '23';

    ($_00 is a valid variable name, which interpolates to nothing)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977485]
[Corion]: Hurr. Yesterday I played around with ffmpeg as a new toy and found its "scene" filter great - it detects scene changes. Now I could write a module that splits a given video on its cuts into different scenes. Except I have no use case for that :)
[Corion]: (and also, writing yet another FFmpeg module just to wrap system() and grep through its output isn't all that great ...)
[erix]: cut out advertisements from movies? :)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2018-05-24 11:10 GMT
Find Nodes?
    Voting Booth?