Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Is it worth knowing Perl? Real-life examples please

by Anonymous Monk
on Nov 02, 2019 at 20:17 UTC ( [id://11108260]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MAstro::Montenbruck::Time=jdnow,jd2mjd,jd_cent -e '$|++;print sp
    +rintf("%-22s","Julian day").sprintf("%-22s","Modified Julian day").sp
    +rintf("%-22s","Julian centuries since J2000.0")."\n";while(){$j=jdnow
    +();print"\r".sprintf("%-22s",$j).sprintf("%-22s",jd2mjd($j)).sprintf(
    +"%-22s",jd_cent($j));sleep 1}'
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
      sleep 1
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11108260]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found