MissouriTiger
Programmer
Hi guys, happy holidays,
I'm interested in knowing if there might be a less redundant way to write the follwing type of function call in Perl (format_date is a user-defined function). It just seems a bit cumbersome to have to include the variable name twice. Is there an alternative way to write such a statement and achieve the same results?
$date = format_date($date);
******************************************************
* BONUS !! BONUS !! BONUS !! BONUS !! BONUS !! BONUS *
******************************************************
This part is just for fun. Have you ever written a Perl program which interacts directly with a Java program, or vice-versa? Is such a thing possible? Can it be done without learning a complex new paradigm? I'm fascinated with the idea of getting 2 programs, which were written in 2 different languages, to interact with each other.
Once again, happy holidays. I hope Santa is good to you all!
-Grega Claus _______________________________________
constructed from 100% recycled electrons
I'm interested in knowing if there might be a less redundant way to write the follwing type of function call in Perl (format_date is a user-defined function). It just seems a bit cumbersome to have to include the variable name twice. Is there an alternative way to write such a statement and achieve the same results?
$date = format_date($date);
******************************************************
* BONUS !! BONUS !! BONUS !! BONUS !! BONUS !! BONUS *
******************************************************
This part is just for fun. Have you ever written a Perl program which interacts directly with a Java program, or vice-versa? Is such a thing possible? Can it be done without learning a complex new paradigm? I'm fascinated with the idea of getting 2 programs, which were written in 2 different languages, to interact with each other.
Once again, happy holidays. I hope Santa is good to you all!
-Grega Claus _______________________________________
constructed from 100% recycled electrons