Author Topic: Eh?  (Read 624 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Code: [Select]
*** sonic_1 ([email protected]) has joined channel #perl
can someone tell me whats wrong with this script?
#!/usr/bin/perl
for $x in 'ls --width=1';
do 'mv $x ~$x/Mailbox;chown $x.mail ~$x/Mailbox';
fi


:confused:
-C

  

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
umm. doesn't an fi ending mean you need an if begining?

Also... that whole thing just looks entirely wrong to me.  Granted I'm a rookie in Linux, but... we coverred that in class, and that seems completely wrong :p
Freelance Modeler | Amateur Artist