![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to run cmds after changing to a new env (shell) in a shell script | charlei | Shell Programming and Scripting | 6 | 10-14-2008 04:18 PM |
| Help! Need to convert bash shell to perl | freak | Shell Programming and Scripting | 0 | 06-19-2008 11:42 AM |
| Another bash shell to perl conversion | freak | UNIX for Dummies Questions & Answers | 6 | 05-29-2008 02:04 PM |
| Converting bash shell to perl | freak | UNIX for Dummies Questions & Answers | 4 | 05-29-2008 01:35 AM |
| What's the difference: 'nuhup cmds' Vs 'cmds &' | billshu | SUN Solaris | 5 | 05-13-2004 12:01 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Perl cmds doesn't work in Bash shell . Plz help
Hi everyone,
I have a Linux OS in my PC (older version 9). Its default shell is bash. Whenever I try to run some Perl program it throws error ! eg, if I run this simple PERL program , #!/usr/bin/perl printf "\lHello \n"; $var=3 ; printf $var; @list=(1,2,3); printf "@list"; ------------------------ it says - in Bash =3 command is not found and the last two lines have syntax error ! ![]() I tried it in cygwin also & got the same error (its default shell is also bash). But in my Office -PC, no error is observed. How to tackle with this situation? should I get the latest version of Linux on which PERL can run without error ? Please help. |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|