4 ms·
I find the "and perl" part particularly dubious. Here's an excerpt: system("echo '$mydata' > /home/rhett/usernick"); system('/home/rhett/music_player.rb &'
by brandon 16y ago
I find the "and perl" part particularly dubious. Here's an excerpt:
system("echo '$mydata' > /home/rhett/usernick");
system('/home/rhett/music_player.rb &');
system('/home/rhett/servos/phidgets-examples/AdvancedServo-simple &');
As a former perl hacker, this kind of stuff was infuriating to me before, but it just seems silly now.
- noonespecial 16y agoHe's got more system() than perl. Probably just should have used a bash script. You know there's trouble when they use system("echo...") to write to a file!
- heyrhett 16y agoHi, I helped to make this. It actually uses a smattering of different technologies. Namely: Perl, Ruby, C, Javascript, Apache, SSL tunnels, an electric wheelchair, and hobby servos from phidgets. We didn't mean to be misleading to the perl lovers, it was just too long to post all of that in the title. Not more than a few lines of each, and it truly is more of a hack than anything else. BTW, we just changed the 1 line of system("echo...") to have perl print the file to avoid any potential security vulnerability.
- variety 16y agosilly, yes. but nonetheless, an accurate reflection of how many people view that sphere of activity known as "perl scripting." i.e. pretty much like bash scripting, but with slightly different punctuation.