Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Anyone here using Linux Mint?

by pvaldes (Chaplain)
on Jun 20, 2013 at 09:29 UTC ( #1039925=note: print w/replies, xml ) Need Help??


in reply to Anyone here using Linux Mint?

Can I take the perl and bash scripts written on Linux Mint and use them on the RHEL 5.8?

I bet that the newer version of mint provides perl 5.14, as Debian stable, unstable and Sid. (You can even have a bomb... err package... for Debian with perl 5.18). I think that RHEL provides perl 5.8.8 (I could be wrong) So, probably not all perl scripts from mint will work in RH.

See also this

UPDATED: confirmed, Linux mint from Maya (13) to Olivia (num 15; newest): perl 5.14.2, same as Debian

Old Linux mint versions from 1 to 5 provide perl 5.8.8. You could start playing with these as source of perl scripts supposedly compatible with your Redhat

Replies are listed 'Best First'.
Re^2: Anyone here using Linux Mint?
by vsespb (Chaplain) on Jun 20, 2013 at 15:49 UTC
    Old Linux mint versions from 1 to 5 provide perl 5.8.8. You could start playing with these as source of perl scripts supposedly compatible with your Redhat
    That's strange advice. It's probably discontinued years ago an unsupported.

    OP has a choice - either read perldoc time-to-time to check perl compatibility and check module compatibility (check Make/Build.PL scripts), or install RHEL family (for example CentOS 5.9)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039925]
help
Chatterbox?
[gnosti]: I'm reading from ffmpeg lengths of video clips in H:M:S and needing to add them and format them back to H:M:S for feeding back to ffmpeg
[marioroy]: kcott Thanks
[Corion]: gnosti: I would cheat and use my approach instead of dealing with durations as objects, or a module
[Corion]: You could even do the calculation directly - my $duration = $H * 3600+ $M*60 + $S; strftime '%H:%M:%S', timelocal($duratio n)
[Corion]: (and that strftime call is largely superfluous too, converting back to H:M:S isn't hard either)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-08-18 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (297 votes). Check out past polls.

    Notices?