Results 1 to 3 of 3

Thread: Wat is this????

  1. #1
    Join Date
    Jul 2003
    Posts
    54

    Wat is this????

    I see in cron files the following
    perl filename.pl 2<&1

    What is the '2<&1' at the end??

  2. #2
    Join Date
    Dec 2002
    Location
    NY, NY
    Posts
    3,975
    an argument i think..

    in case you dont know what that is..
    Its a parameter passed to the file.
    So like filename.pl ABC
    filename.pl would be able to read the argument "ABC"
    and do the necessary operations w/ it

  3. #3
    Join Date
    May 2001
    Location
    HK
    Posts
    3,076

    Smile

    It is writing a standard output to a file... not args.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •